script: Remove extra task when following hyperlinks.#43489
script: Remove extra task when following hyperlinks.#43489jdm wants to merge 1 commit intoservo:mainfrom
Conversation
|
🔨 Triggering try run (#23352427549) for Linux (WPT) |
|
|
|
🔨 Triggering try run (#23352774615) for Linux (WPT) |
|
Test results for linux-wpt from try job (#23352774615): Flaky unexpected result (29)
Stable unexpected results that are known to be intermittent (15)
Stable unexpected results (1)
|
|
|
mrobinson
left a comment
There was a problem hiding this comment.
I love changes where doing less is more correct.
Signed-off-by: Josh Matthews <[email protected]>
|
This change adjusts the task timing in the test enough to make it intermittently pass. The issue is that the test starts a form navigation then initiates a hyperlink navigation and expects the hyperlink navigation to succeed. This is supposed to work due to the "ongoing navigation" concept from the specification, where the latest navigation sets a new ongoing navigation and tasks queued by earlier navigations check if the ongoing navigation matches the one that they expect. We have only implemented this check for form submission; not for navigation in general ( servo/components/script/dom/html/htmlformelement.rs Lines 1104 to 1108 in a63a009 |
The specification does not use a task here, and it throws off the timing expectations of tests that perform hyperlink navigations.
Testing: New passing WPT tests.