mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibWeb/HTML: Port Window.document to IDL
This commit is contained in:
parent
dcff775ab1
commit
0e587420a8
Notes:
sideshowbarker
2024-07-17 01:46:43 +09:00
Author: https://github.com/linusg
Commit: 0e587420a8
Pull-request: https://github.com/SerenityOS/serenity/pull/17752
Reviewed-by: https://github.com/awesomekling
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