1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:27:35 +00:00

LibWeb: Don't navigate() to about:blank when making a fresh Traversable

This matches the behavior of the window open steps, and should probably
be a spec issue :yakplus:
This commit is contained in:
Andrew Kaster 2024-02-07 09:03:47 -07:00 committed by Andreas Kling
parent 889b903e40
commit 53273e2037
3 changed files with 24 additions and 6 deletions

View file

@ -19,7 +19,7 @@ PageHost::PageHost(ConnectionFromClient& client)
: m_client(client)
{
auto& first_page = create_page();
first_page.page().set_top_level_traversable(Web::HTML::TraversableNavigable::create_a_fresh_top_level_traversable(first_page.page(), AK::URL("about:blank")).release_value_but_fixme_should_propagate_errors());
Web::HTML::TraversableNavigable::create_a_fresh_top_level_traversable(first_page.page(), AK::URL("about:blank")).release_value_but_fixme_should_propagate_errors();
}
PageClient& PageHost::create_page()