mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibWeb: Update top_level_browsing_context() to use navigables
This commit is contained in:
committed by
Andreas Kling
parent
fda420875d
commit
6942bdcfce
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user