From 4f36893fda51243ffe78eb8188671b426b9e792e Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Thu, 19 Jan 2023 18:46:47 +0100 Subject: [PATCH] Ladybird: Set initial page when NOT connected to WebDriver This flips an if check condition, making the JS console work in new tabs again. --- Ladybird/Tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ladybird/Tab.cpp b/Ladybird/Tab.cpp index 2cdba38971..c60b0aed9b 100644 --- a/Ladybird/Tab.cpp +++ b/Ladybird/Tab.cpp @@ -151,7 +151,7 @@ Tab::Tab(BrowserWindow* window, StringView webdriver_content_ipc_path) // // Note we *don't* do this if we are connected to a WebDriver, as the Set URL command may come in very // quickly, and become replaced by this load. - if (!webdriver_content_ipc_path.is_empty()) { + if (webdriver_content_ipc_path.is_empty()) { m_is_history_navigation = true; m_view->load("about:blank"sv); }