ladybird/Services/WebDriver
sideshowbarker 5440f0797b WebDriver: Tolerate a WebContent process swap during load-url-from-ui
Problem: Intermittent TestWebDriverSessionHistory crashes in CI.

Cause: A process-swap navigation driven through the load-url-from-ui
test hook (introduced in 24f37c6732 / #10085) could tear down the
WebContent process before it replied to the sync LoadUrlFromUi message,
tripping an assert — even though the result is still delivered over the
driver-execution-complete channel separately. (The reply’s just an ACK.)

Fix: Send the message with send_sync_but_allow_failure. Treat a dropped
reply as the swap proceeding. Nothing’s lost: WebContent sends the async
completion before this, and early errors return before any swap.
2026-06-22 14:46:35 +02:00
..
Client.cpp WebDriver: Tolerate a WebContent process swap during load-url-from-ui 2026-06-22 14:46:35 +02:00
Client.h LibWebView: Keep browser history in the UI process 2026-06-14 17:38:44 +02:00
CMakeLists.txt LibThreading/LibSync: Split out sync primitives 2026-05-08 18:58:35 -05:00
main.cpp LibWebView: Make helper sandboxing opt-out 2026-06-16 19:02:54 +02:00
Session.cpp LibWebView: Keep browser history in the UI process 2026-06-14 17:38:44 +02:00
Session.h LibWebView: Keep browser history in the UI process 2026-06-14 17:38:44 +02:00
WebContentConnection.cpp LibWebView: Keep browser history in the UI process 2026-06-14 17:38:44 +02:00
WebContentConnection.h LibWebView: Keep browser history in the UI process 2026-06-14 17:38:44 +02:00