|
@@ -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 = {});
|