mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-15 23:01:52 +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
|
@ -1055,7 +1055,7 @@ void HTMLParser::handle_in_head(HTMLToken& token)
|
|||
// If an exception is thrown, then catch it, report the exception, insert an element at the adjusted insertion location with template, and return.
|
||||
auto result = declarative_shadow_host_element.attach_a_shadow_root(mode, clonable, serializable, delegates_focus, Bindings::SlotAssignmentMode::Named);
|
||||
if (result.is_error()) {
|
||||
report_exception(Bindings::dom_exception_to_throw_completion(vm(), result.release_error()), realm());
|
||||
report_exception(Bindings::exception_to_throw_completion(vm(), result.release_error()), realm());
|
||||
insert_an_element_at_the_adjusted_insertion_location(template_);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue