1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:38:11 +00:00

LibWeb: Make factory method of HTML::MessageChannel fallible

This commit is contained in:
Kenneth Myhra 2023-02-12 21:30:29 +01:00 committed by Linus Groh
parent 52e9839d8b
commit 3d79cdf095
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ class MessageChannel final : public Bindings::PlatformObject {
WEB_PLATFORM_OBJECT(MessageChannel, Bindings::PlatformObject);
public:
static JS::NonnullGCPtr<MessageChannel> construct_impl(JS::Realm&);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<MessageChannel>> construct_impl(JS::Realm&);
virtual ~MessageChannel() override;
MessagePort* port1();