Commit 36228d0
Tests: Wait for reseed convergence after blocked-reload crash recovery
Problem: TestWebDriverSessionHistory regularly failed in CI jobs,
predominantly on (slow/loaded) Sanitizer builds.
Cause: After the crash recovery reloads the current entry, the test
waited only for the WebContent-side reload_blocked_document_ran event,
and then sampled reloadPending once. But reloadPending and the reseed
flags clear on the UI only once WebContent’s load-complete IPC lands —
which lags that event. On a slow or loaded build, the check ran before
the IPC arrived — and failed while the reseed was still in flight.
Fix: Wait for the reseed to converge (reloadPending and the seed and
reseed flags all cleared) instead of sampling once — matching the wait-
for-convergence pattern used elsewhere in the test.1 parent 498acab commit 36228d0
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5279 | 5279 | | |
5280 | 5280 | | |
5281 | 5281 | | |
5282 | | - | |
5283 | | - | |
| 5282 | + | |
| 5283 | + | |
| 5284 | + | |
| 5285 | + | |
| 5286 | + | |
| 5287 | + | |
| 5288 | + | |
| 5289 | + | |
| 5290 | + | |
| 5291 | + | |
| 5292 | + | |
5284 | 5293 | | |
5285 | 5294 | | |
5286 | 5295 | | |
| |||
0 commit comments