Repository navigation
constellation: Queue session history traversals - #47293
Conversation
92c5b4d to
8c45069
Compare
|
🔨 Triggering try run (#32031410554) for Linux (WPT) |
8c45069 to
c0e3f75
Compare
|
Test results for linux-wpt from try job (#32031410554): Flaky unexpected result (35)
Stable unexpected results that are known to be intermittent (19)
|
|
✨ Try run (#32031410554) succeeded. |
|
Can we wait until #46975 is merged, or at least merge these two with a couple of days in between? Both are impactful changes for navigation and to minimise impact on CI stability, I think it's good to be cautious. |
Sure. This is ready to review and merge now, so it could be merged now or later (if #46975 will be merged soon). |
|
🔨 Triggering try run (#32047871962) for Linux (WPT) |
jdm
left a comment
There was a problem hiding this comment.
This is great! Thanks for tackling this!
| browsing_context_id: BrowsingContextId, | ||
| new_reloader: NeedsToReload, | ||
| ) { | ||
| ) -> Option<PipelineId> { |
There was a problem hiding this comment.
Let's document what this return value means.
There was a problem hiding this comment.
Thanks for the review. I've added documentation for this now.
|
✨ Try run (#32047871962) succeeded. |
Instead of running history traversals (moving backward and forward in the session history) immediately, only run each traversal after the previous one has finished. Traversals may not finish immediately if a page needs to be reloaded due to being a sufficient distance away in the back-forward list to not be cached or because an `unload` handler ran. This fixes issues with intermittency when running history navigation tests. Previously, history traversals were run immediately (instead of being queued) which could lead to nondeterminate navigation outcomes. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
c0e3f75 to
a8c60a8
Compare
Instead of running history traversals (moving backward and forward in the session history) immediately, only run each traversal after the previous one has finished. Traversals may not finish immediately if a page needs to be reloaded due to being a sufficient distance away in the back-forward list to not be cached or because an `unload` handler ran. This fixes issues with intermittency when running history navigation tests. Previously, history traversals were run immediately (instead of being queued) which could lead to nondeterminate navigation outcomes. Testing: This should eliminate test flakiness on the CI. Fixes: servo#21383. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Instead of running history traversals (moving backward and forward in
the session history) immediately, only run each traversal after the
previous one has finished. Traversals may not finish immediately if a
page needs to be reloaded due to being a sufficient distance away in the
back-forward list to not be cached or because an
unloadhandler ran.This fixes issues with intermittency when running history navigation
tests. Previously, history traversals were run immediately (instead of
being queued) which could lead to nondeterminate navigation outcomes.
Testing: This should eliminate test flakiness on the CI.
Fixes: #21383.