mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 14:25:08 +00:00
LibWeb: Update top_level_browsing_context() to use navigables
This commit is contained in:
parent
fda420875d
commit
6942bdcfce
9 changed files with 43 additions and 30 deletions
|
@ -895,7 +895,7 @@ JS::GCPtr<WindowProxy const> Window::top() const
|
|||
return {};
|
||||
|
||||
// 2. Return this's navigable's top-level traversable's active WindowProxy.
|
||||
return browsing_context->top_level_browsing_context().window_proxy();
|
||||
return browsing_context->top_level_browsing_context()->window_proxy();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-parent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue