mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
LibWeb: Remove dom_ from dom_exception_to_throw_completion
We're not converting `WebIDL::DOMException`, but `WebIDL::Exception` instead.
This commit is contained in:
committed by
Andrew Kaster
parent
17d5dfe597
commit
1514197e36
@@ -93,7 +93,7 @@ void Body::fully_read(JS::Realm& realm, Web::Fetch::Infrastructure::Body::Proces
|
||||
auto reader = Streams::acquire_readable_stream_default_reader(m_stream);
|
||||
|
||||
if (reader.is_exception()) {
|
||||
auto throw_completion = Bindings::dom_exception_to_throw_completion(realm.vm(), reader.release_error());
|
||||
auto throw_completion = Bindings::exception_to_throw_completion(realm.vm(), reader.release_error());
|
||||
error_steps(throw_completion.release_value().value());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user