mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 01:15:07 +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
|
@ -64,7 +64,7 @@ WebIDL::ExceptionOr<void> NavigableContainer::create_new_child_navigable()
|
|||
|
||||
// 2. Let group be element's node document's browsing context's top-level browsing context's group.
|
||||
VERIFY(document().browsing_context());
|
||||
auto group = document().browsing_context()->top_level_browsing_context().group();
|
||||
auto group = document().browsing_context()->top_level_browsing_context()->group();
|
||||
VERIFY(group);
|
||||
|
||||
// 3. Let browsingContext and document be the result of creating a new browsing context and document given element's node document, element, and group.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue