mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:08:12 +00:00
LibWeb/HTML: Port Window.top to IDL
This commit is contained in:
parent
baaf891c64
commit
dba8dbe07d
3 changed files with 14 additions and 17 deletions
|
@ -147,6 +147,7 @@ public:
|
|||
|
||||
JS::NonnullGCPtr<WindowProxy> frames() const;
|
||||
u32 length() const;
|
||||
JS::GCPtr<WindowProxy const> top() const;
|
||||
|
||||
JS::NonnullGCPtr<Navigator> navigator() const;
|
||||
|
||||
|
@ -218,8 +219,6 @@ public:
|
|||
CrossOriginPropertyDescriptorMap& cross_origin_property_descriptor_map() { return m_cross_origin_property_descriptor_map; }
|
||||
|
||||
private:
|
||||
JS_DECLARE_NATIVE_FUNCTION(top_getter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(frame_element_getter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(location_setter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue