diff --git a/Ladybird/WebDriver/main.cpp b/Ladybird/WebDriver/main.cpp index 941bd124893..cd9abf9c3d7 100644 --- a/Ladybird/WebDriver/main.cpp +++ b/Ladybird/WebDriver/main.cpp @@ -36,6 +36,7 @@ static ErrorOr launch_browser(DeprecatedString const& socket_path) Array { "--webdriver-content-path", socket_path.characters(), + "about:blank", }); } diff --git a/Userland/Applications/Browser/main.cpp b/Userland/Applications/Browser/main.cpp index 22d28c20c4e..bf65949d15a 100644 --- a/Userland/Applications/Browser/main.cpp +++ b/Userland/Applications/Browser/main.cpp @@ -114,9 +114,6 @@ ErrorOr serenity_main(Main::Arguments arguments) TRY(Desktop::Launcher::add_allowed_url(URL::create_with_file_scheme(Core::StandardPaths::downloads_directory()))); TRY(Desktop::Launcher::seal_allowlist()); - if (!Browser::g_webdriver_content_ipc_path.is_empty()) - specified_urls.empend("about:blank"); - TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw")); TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw")); TRY(Core::System::unveil("/tmp/session/%sid/portal/image", "rw")); diff --git a/Userland/Services/WebDriver/main.cpp b/Userland/Services/WebDriver/main.cpp index 231efce657f..b954c532279 100644 --- a/Userland/Services/WebDriver/main.cpp +++ b/Userland/Services/WebDriver/main.cpp @@ -20,6 +20,7 @@ static ErrorOr launch_browser(DeprecatedString const& socket_path) Array { "--webdriver-content-path", socket_path.characters(), + "about:blank", }); }