mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
LibWeb+WebContent: Change the "noopener" storage type to a named enum
This commit is contained in:
parent
496b7ffb2b
commit
1b811191cd
Notes:
sideshowbarker
2024-07-17 09:56:35 +09:00
Author: https://github.com/trflynn89
Commit: 1b811191cd
Pull-request: https://github.com/SerenityOS/serenity/pull/17956
7 changed files with 65 additions and 16 deletions
|
@ -577,7 +577,7 @@ Messages::WebDriverClient::NewWindowResponse WebDriverConnection::new_window(Jso
|
|||
// created browsing context should be in a new OS window. In all other cases the details of how the browsing
|
||||
// context is presented to the user are implementation defined.
|
||||
// FIXME: Reuse code of window.open() instead of calling choose_a_browsing_context
|
||||
auto [browsing_context, window_type] = m_page_client.page().top_level_browsing_context().choose_a_browsing_context("_blank"sv, true, Web::HTML::ActivateTab::No);
|
||||
auto [browsing_context, window_type] = m_page_client.page().top_level_browsing_context().choose_a_browsing_context("_blank"sv, Web::HTML::TokenizedFeature::NoOpener::Yes, Web::HTML::ActivateTab::No);
|
||||
|
||||
// 6. Let handle be the associated window handle of the newly created window.
|
||||
auto handle = browsing_context->window_handle();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue