mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
LibWeb: Propagate error in factory method of Streams::ReadableStream
This commit is contained in:
parent
07db02cd2c
commit
d69e863286
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ namespace Web::Streams {
|
|||
// https://streams.spec.whatwg.org/#rs-constructor
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<ReadableStream>> ReadableStream::construct_impl(JS::Realm& realm)
|
||||
{
|
||||
return realm.heap().allocate<ReadableStream>(realm, realm).release_allocated_value_but_fixme_should_propagate_errors();
|
||||
return MUST_OR_THROW_OOM(realm.heap().allocate<ReadableStream>(realm, realm));
|
||||
}
|
||||
|
||||
ReadableStream::ReadableStream(JS::Realm& realm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue