mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 10:04:59 +00:00
LibWeb/HTML: Propagate errors from Window::initialize_web_interfaces()
This commit is contained in:
parent
8110cf9fab
commit
cc1e8a4e9f
3 changed files with 10 additions and 9 deletions
|
@ -77,7 +77,7 @@ WebIDL::ExceptionOr<void> WindowEnvironmentSettingsObject::setup(AK::URL const&
|
|||
|
||||
// Non-Standard: We cannot fully initialize window object until *after* the we set up
|
||||
// the realm's [[HostDefined]] internal slot as the internal slot contains the web platform intrinsics
|
||||
window.initialize_web_interfaces({});
|
||||
TRY(window.initialize_web_interfaces({}));
|
||||
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue