LibWeb: Remove BrowsingContext::create_a_new_top_level_browsing_context

This call has been replaced by
`create_a_new_top_level_browsing_context_and_document`
after specification was refactored to use navigables.
This commit is contained in:
Aliaksandr Kalenik 2023-09-03 21:46:36 +02:00 committed by Andreas Kling
commit 7daa462ef8
Notes: sideshowbarker 2024-07-16 23:08:48 +09:00
5 changed files with 10 additions and 20 deletions

View file

@ -126,9 +126,9 @@ static JS::NonnullGCPtr<HTML::BrowsingContext> obtain_a_browsing_context_to_use_
return browsing_context;
}
// 3. Let newBrowsingContext be the result of creating a new top-level browsing context.
// 3. Let newBrowsingContext be the first return value of creating a new top-level browsing context and document
VERIFY(browsing_context.page());
auto new_browsing_context = HTML::BrowsingContext::create_a_new_top_level_browsing_context(*browsing_context.page());
auto new_browsing_context = HTML::create_a_new_top_level_browsing_context_and_document(*browsing_context.page()).release_value_but_fixme_should_propagate_errors().browsing_context;
// FIXME: 4. If navigationCOOP's value is "same-origin-plurs-COEP", then set newBrowsingContext's group's
// cross-origin isolation mode to either "logical" or "concrete". The choice of which is implementation-defined.