mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:18:12 +00:00
LibWeb: Make factory method of HTML::WorkerNavigator fallible
This commit is contained in:
parent
86b7f148b9
commit
193de231e0
3 changed files with 7 additions and 4 deletions
|
@ -22,7 +22,7 @@ class WorkerNavigator : public Bindings::PlatformObject
|
|||
WEB_PLATFORM_OBJECT(WorkerNavigator, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<WorkerNavigator> create(WorkerGlobalScope&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<WorkerNavigator>> create(WorkerGlobalScope&);
|
||||
|
||||
virtual ~WorkerNavigator() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue