1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

LibWeb/HTML: Port Window.name to IDL

This commit is contained in:
Linus Groh 2023-03-05 19:02:16 +00:00
parent 0e587420a8
commit 0e40841990
3 changed files with 25 additions and 40 deletions

View file

@ -121,9 +121,6 @@ public:
WebIDL::ExceptionOr<JS::Value> structured_clone_impl(JS::VM& vm, JS::Value);
DeprecatedString name() const;
void set_name(DeprecatedString const&);
void start_an_idle_period();
u32 request_idle_callback_impl(WebIDL::CallbackType& callback);
@ -143,6 +140,8 @@ public:
JS::NonnullGCPtr<WindowProxy> window() const;
JS::NonnullGCPtr<WindowProxy> self() const;
JS::NonnullGCPtr<DOM::Document const> document() const;
String name() const;
void set_name(String const&);
JS::NonnullGCPtr<WindowProxy> frames() const;
@ -227,9 +226,6 @@ private:
JS_DECLARE_NATIVE_FUNCTION(location_getter);
JS_DECLARE_NATIVE_FUNCTION(location_setter);
JS_DECLARE_NATIVE_FUNCTION(name_getter);
JS_DECLARE_NATIVE_FUNCTION(name_setter);
JS_DECLARE_NATIVE_FUNCTION(performance_getter);
JS_DECLARE_NATIVE_FUNCTION(performance_setter);