From 129ab024706ac035bd7a7445063fd9d0c71bf934 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 7 Mar 2023 18:21:49 +0000 Subject: LibWeb/HTML: Port Window.structuredClone() to IDL --- Userland/Libraries/LibWeb/HTML/Window.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Userland/Libraries/LibWeb/HTML/Window.h') 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 local_storage(); JS::NonnullGCPtr session_storage(); - WebIDL::ExceptionOr 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); -- cgit v1.2.3