1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

LibWeb: Implement window.length

This commit is contained in:
networkException 2022-09-06 19:56:29 +02:00 committed by Linus Groh
parent b70e4e9909
commit e377e28fd2
4 changed files with 53 additions and 0 deletions

View file

@ -80,6 +80,10 @@ public:
BrowsingContext* choose_a_browsing_context(StringView name, bool noopener);
size_t document_tree_child_browsing_context_count() const;
bool is_child_of(BrowsingContext const&) const;
HTML::BrowsingContextContainer* container() { return m_container; }
HTML::BrowsingContextContainer const* container() const { return m_container; }