mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
LibWeb/HTML: Port Window.document to IDL
This commit is contained in:
parent
dcff775ab1
commit
0e587420a8
3 changed files with 10 additions and 9 deletions
|
@ -142,6 +142,7 @@ public:
|
|||
// JS API functions
|
||||
JS::NonnullGCPtr<WindowProxy> window() const;
|
||||
JS::NonnullGCPtr<WindowProxy> self() const;
|
||||
JS::NonnullGCPtr<DOM::Document const> document() const;
|
||||
|
||||
JS::NonnullGCPtr<WindowProxy> frames() const;
|
||||
|
||||
|
@ -221,8 +222,6 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(length_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(top_getter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(document_getter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(frame_element_getter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(location_getter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue