diff options
author | Linus Groh <mail@linusgroh.de> | 2023-03-07 18:21:49 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-03-07 23:33:34 +0000 |
commit | 129ab024706ac035bd7a7445063fd9d0c71bf934 (patch) | |
tree | 134709994eb92a6c03d1f807eb4e28d770763137 /Userland/Libraries/LibWeb/HTML/Window.h | |
parent | a31c561a5a921899fac620607b3f9f75d65a4a11 (diff) | |
download | serenity-129ab024706ac035bd7a7445063fd9d0c71bf934.zip |
LibWeb/HTML: Port Window.structuredClone() to IDL
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Window.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/Window.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Window.h b/Userland/Libraries/LibWeb/HTML/Window.h index 4cbc962f6d..704b998e39 100644 --- a/Userland/Libraries/LibWeb/HTML/Window.h +++ b/Userland/Libraries/LibWeb/HTML/Window.h @@ -61,6 +61,7 @@ public: using WindowOrWorkerGlobalScopeMixin::atob; using WindowOrWorkerGlobalScopeMixin::btoa; using WindowOrWorkerGlobalScopeMixin::fetch; + using WindowOrWorkerGlobalScopeMixin::structured_clone; // ^DOM::EventTarget virtual bool dispatch_event(DOM::Event&) override; @@ -115,8 +116,6 @@ public: JS::NonnullGCPtr<HTML::Storage> local_storage(); JS::NonnullGCPtr<HTML::Storage> session_storage(); - WebIDL::ExceptionOr<JS::Value> structured_clone_impl(JS::VM& vm, JS::Value); - void start_an_idle_period(); AnimationFrameCallbackDriver& animation_frame_callback_driver() { return m_animation_frame_callback_driver; } @@ -251,8 +250,6 @@ public: private: JS_DECLARE_NATIVE_FUNCTION(location_setter); - JS_DECLARE_NATIVE_FUNCTION(structured_clone); - JS_DECLARE_NATIVE_FUNCTION(set_interval); JS_DECLARE_NATIVE_FUNCTION(set_timeout); JS_DECLARE_NATIVE_FUNCTION(clear_interval); |