mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +00:00
LibWeb: Update WindowProxy::internal_own_property_keys() for navigables
This commit is contained in:
parent
089a23a1f2
commit
605d24ef7d
Notes:
sideshowbarker
2024-07-18 05:01:22 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 605d24ef7d
Pull-request: https://github.com/SerenityOS/serenity/pull/18219
1 changed files with 2 additions and 2 deletions
|
@ -231,8 +231,8 @@ JS::ThrowCompletionOr<JS::MarkedVector<JS::Value>> WindowProxy::internal_own_pro
|
|||
// 2. Let keys be a new empty List.
|
||||
auto keys = JS::MarkedVector<JS::Value> { vm.heap() };
|
||||
|
||||
// 3. Let maxProperties be the number of document-tree child browsing contexts of W.
|
||||
auto max_properties = m_window->document_tree_child_browsing_context_count();
|
||||
// 3. Let maxProperties be W's associated Document's document-tree child navigables's size.
|
||||
auto max_properties = m_window->associated_document().document_tree_child_navigables().size();
|
||||
|
||||
// 4. Let index be 0.
|
||||
// 5. Repeat while index < maxProperties,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue