LibWeb: Remove OOM propagation from Fetch::Body

This commit is contained in:
Timothy Flynn 2024-04-27 10:15:01 -04:00 committed by Andreas Kling
commit 3e991a55fa
Notes: sideshowbarker 2024-07-17 07:09:53 +09:00
6 changed files with 8 additions and 8 deletions

View file

@ -47,7 +47,7 @@ void Request::visit_edges(Cell::Visitor& visitor)
// https://fetch.spec.whatwg.org/#concept-body-mime-type
// https://fetch.spec.whatwg.org/#ref-for-concept-body-mime-type%E2%91%A0
ErrorOr<Optional<MimeSniff::MimeType>> Request::mime_type_impl() const
Optional<MimeSniff::MimeType> Request::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 Request objects MIME type is to return the result of extracting a MIME type from its requests header list.