LibWeb: Implement window.length

This commit is contained in:
networkException 2022-09-06 19:56:29 +02:00 committed by Linus Groh
commit e377e28fd2
Notes: sideshowbarker 2024-07-17 07:18:56 +09:00
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; }