mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
test-web: Handle WebContent process changes during cross-site navigation
Commit 84db5d8c1c introduced the ability
to load tests over an http:// URL instead of a file:// URL. Each time
this happens, we switch to a new WebContent process due to site
isolation. Our WebContent output capture was not handling this.
For some reason, this was causing a wide array of test failures and
timeouts. Often, the failures were accompanied by the content of the
files loaded over HTTP being dumped to stdout. It's not quite clear
what was going on here.
This commit is contained in:
Notes:
github-actions[bot]
2026-02-20 16:42:30 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/17a420cf976 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8047
@@ -243,6 +243,7 @@ public:
|
||||
Function<void(Gfx::Color)> on_theme_color_change;
|
||||
Function<void(Web::HTML::AudioPlayState)> on_audio_play_state_changed;
|
||||
Function<void()> on_web_content_crashed;
|
||||
Function<void()> on_web_content_process_change_for_cross_site_navigation;
|
||||
|
||||
Menu& page_context_menu() { return *m_page_context_menu; }
|
||||
Menu& link_context_menu() { return *m_link_context_menu; }
|
||||
|
||||
Reference in New Issue
Block a user