mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb: Make factory method of HTML::MessageChannel fallible
This commit is contained in:
parent
52e9839d8b
commit
3d79cdf095
Notes:
sideshowbarker
2024-07-17 03:03:37 +09:00
Author: https://github.com/kennethmyhra
Commit: 3d79cdf095
Pull-request: https://github.com/SerenityOS/serenity/pull/17491
Reviewed-by: https://github.com/linusg ✅
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue