mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
LibWeb: Make factory method of DOM::MutationObserver fallible
This commit is contained in:
parent
24d7e688fc
commit
7852915dd3
2 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ class MutationObserver final : public Bindings::PlatformObject {
|
|||
WEB_PLATFORM_OBJECT(MutationObserver, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<MutationObserver> construct_impl(JS::Realm&, JS::GCPtr<WebIDL::CallbackType>);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<MutationObserver>> construct_impl(JS::Realm&, JS::GCPtr<WebIDL::CallbackType>);
|
||||
virtual ~MutationObserver() override;
|
||||
|
||||
WebIDL::ExceptionOr<void> observe(Node& target, MutationObserverInit options = {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue