mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +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:
parent
17d5dfe597
commit
1514197e36
Notes:
github-actions[bot]
2024-12-10 03:03:42 +00:00
Author: https://github.com/gmta
Commit: 1514197e36
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2162
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/shannonbooth
14 changed files with 35 additions and 35 deletions
|
@ -241,7 +241,7 @@ JS::ThrowCompletionOr<GC::Ref<WebIDL::Promise>> FontFaceSet::load(String const&
|
|||
auto result = find_matching_font_faces(realm, font_face_set, font, text);
|
||||
if (result.is_error()) {
|
||||
HTML::TemporaryExecutionContext execution_context { realm, HTML::TemporaryExecutionContext::CallbacksEnabled::Yes };
|
||||
WebIDL::reject_promise(realm, promise, Bindings::dom_exception_to_throw_completion(realm.vm(), result.release_error()).release_value().value());
|
||||
WebIDL::reject_promise(realm, promise, Bindings::exception_to_throw_completion(realm.vm(), result.release_error()).release_value().value());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue