1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:37:34 +00:00

LibWeb: Make factory method of Crypto::Crypto fallible

This commit is contained in:
Kenneth Myhra 2023-02-12 21:21:12 +01:00 committed by Linus Groh
parent fb3294863e
commit 58af8e2021
3 changed files with 4 additions and 4 deletions

View file

@ -1067,7 +1067,7 @@ void Window::initialize_web_interfaces(Badge<WindowEnvironmentSettingsObject>)
Object::set_prototype(&Bindings::ensure_web_prototype<Bindings::WindowPrototype>(realm, "Window"));
m_crypto = Crypto::Crypto::create(realm);
m_crypto = Crypto::Crypto::create(realm).release_value_but_fixme_should_propagate_errors();
// FIXME: These should be native accessors, not properties
define_native_accessor(realm, "top", top_getter, nullptr, JS::Attribute::Enumerable);