1
Fork 0
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:
Linus Groh 2023-03-05 21:22:34 +00:00
parent 8110cf9fab
commit cc1e8a4e9f
3 changed files with 10 additions and 9 deletions

View file

@ -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 {};
}