mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 07:37:44 +00:00
LibWeb: Make factory method of HTML::MessagePort fallible
This commit is contained in:
parent
7ec444047c
commit
471ad7ba01
4 changed files with 8 additions and 8 deletions
|
@ -22,7 +22,7 @@ class MessagePort final : public DOM::EventTarget {
|
|||
WEB_PLATFORM_OBJECT(MessagePort, DOM::EventTarget);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<MessagePort> create(JS::Realm&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<MessagePort>> create(JS::Realm&);
|
||||
|
||||
virtual ~MessagePort() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue