mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Update top_level_browsing_context() to use navigables
This commit is contained in:
parent
fda420875d
commit
6942bdcfce
Notes:
sideshowbarker
2024-07-17 08:34:29 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 6942bdcfce
Pull-request: https://github.com/SerenityOS/serenity/pull/18219
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