mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
LibWeb: Implement Document::make_active()
Implementation of "make active" algorithm from the spec for Document. Co-authored-by: Andreas Kling <kling@serenityos.org>
This commit is contained in:
parent
32e2207b55
commit
3225c39191
4 changed files with 25 additions and 3 deletions
|
@ -32,7 +32,7 @@ public:
|
|||
virtual JS::ThrowCompletionOr<JS::MarkedVector<JS::Value>> internal_own_property_keys() const override;
|
||||
|
||||
JS::GCPtr<Window> window() const { return m_window; }
|
||||
void set_window(Badge<BrowsingContext>, JS::NonnullGCPtr<Window>);
|
||||
void set_window(JS::NonnullGCPtr<Window>);
|
||||
|
||||
JS::NonnullGCPtr<BrowsingContext> associated_browsing_context() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue