mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Remove OOM propagation from Fetch::Body
This commit is contained in:
parent
6b5deb2259
commit
3e991a55fa
Notes:
sideshowbarker
2024-07-17 07:09:53 +09:00
Author: https://github.com/trflynn89
Commit: 3e991a55fa
Pull-request: https://github.com/SerenityOS/serenity/pull/24138
6 changed files with 8 additions and 8 deletions
|
@ -44,7 +44,7 @@ void Response::visit_edges(Cell::Visitor& visitor)
|
|||
|
||||
// https://fetch.spec.whatwg.org/#concept-body-mime-type
|
||||
// https://fetch.spec.whatwg.org/#ref-for-concept-header-extract-mime-type%E2%91%A7
|
||||
ErrorOr<Optional<MimeSniff::MimeType>> Response::mime_type_impl() const
|
||||
Optional<MimeSniff::MimeType> Response::mime_type_impl() const
|
||||
{
|
||||
// Objects including the Body interface mixin need to define an associated MIME type algorithm which takes no arguments and returns failure or a MIME type.
|
||||
// A Response object’s MIME type is to return the result of extracting a MIME type from its response’s header list.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue