mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
LibWeb/HTML: Port Window.open() to IDL
This commit is contained in:
parent
efa48142d2
commit
b2409517bd
Notes:
sideshowbarker
2024-07-17 07:31:31 +09:00
Author: https://github.com/linusg
Commit: b2409517bd
Pull-request: https://github.com/SerenityOS/serenity/pull/17752
Reviewed-by: https://github.com/awesomekling
3 changed files with 9 additions and 24 deletions
|
@ -147,6 +147,7 @@ public:
|
|||
JS::GCPtr<WindowProxy const> top() const;
|
||||
JS::GCPtr<WindowProxy const> parent() const;
|
||||
JS::GCPtr<DOM::Element const> frame_element() const;
|
||||
WebIDL::ExceptionOr<JS::GCPtr<HTML::WindowProxy>> open(Optional<String> const& url, Optional<String> const& target, Optional<String> const& features);
|
||||
|
||||
JS::NonnullGCPtr<Navigator> navigator() const;
|
||||
|
||||
|
@ -254,7 +255,6 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(origin_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(is_secure_context_getter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(open);
|
||||
JS_DECLARE_NATIVE_FUNCTION(set_interval);
|
||||
JS_DECLARE_NATIVE_FUNCTION(set_timeout);
|
||||
JS_DECLARE_NATIVE_FUNCTION(clear_interval);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue