1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

LibWeb/HTML: Port Window.frameElement to IDL

This commit is contained in:
Linus Groh 2023-03-05 21:33:30 +00:00
parent c6353ac8cd
commit efa48142d2
3 changed files with 27 additions and 30 deletions

View file

@ -146,6 +146,7 @@ public:
u32 length() const;
JS::GCPtr<WindowProxy const> top() const;
JS::GCPtr<WindowProxy const> parent() const;
JS::GCPtr<DOM::Element const> frame_element() const;
JS::NonnullGCPtr<Navigator> navigator() const;
@ -217,8 +218,6 @@ public:
CrossOriginPropertyDescriptorMap& cross_origin_property_descriptor_map() { return m_cross_origin_property_descriptor_map; }
private:
JS_DECLARE_NATIVE_FUNCTION(frame_element_getter);
JS_DECLARE_NATIVE_FUNCTION(location_setter);
JS_DECLARE_NATIVE_FUNCTION(performance_getter);