mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
Ladybird: Set initial page when NOT connected to WebDriver
This flips an if check condition, making the JS console work in new tabs again.
This commit is contained in:
parent
5ac57f9d41
commit
4f36893fda
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue