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

LibWeb: Make factory method of HTML::Navigator fallible

This commit is contained in:
Kenneth Myhra 2023-02-15 19:52:40 +01:00 committed by Linus Groh
parent 2f4db60c08
commit d7ee378018
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ class Navigator : public Bindings::PlatformObject
WEB_PLATFORM_OBJECT(Navigator, Bindings::PlatformObject);
public:
static JS::NonnullGCPtr<Navigator> create(JS::Realm&);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Navigator>> create(JS::Realm&);
// FIXME: Implement NavigatorContentUtilsMixin