diff options
-rw-r--r-- | Ladybird/Tab.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Ladybird/Tab.cpp b/Ladybird/Tab.cpp index f19ac4941b..9982099b9d 100644 --- a/Ladybird/Tab.cpp +++ b/Ladybird/Tab.cpp @@ -97,6 +97,10 @@ Tab::Tab(BrowserWindow* window) text_edit->setPlainText(source); text_edit->show(); }); + + // FIXME: This is a hack to make the JS console usable in new windows. + // Something else should ensure that there's an initial about:blank document loaded in the view. + m_view->load("about:blank"sv); } void Tab::focus_location_editor() |