-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation API test results inaccurate? #33590
Comments
As a simple example, https://wpt.fyi/results/navigation-api/navigation-methods/back-forward-multiple-frames.html?label=experimental&label=master&aligned&view=subtest expects the browsing context to have a single history entry (the test itself), but fails immediately because apparently in the WPT runner, there are two history entries at the start of the test. Maybe some driver or harness is corrupting things? |
How much of this remains after #36069? Are there still differences between Chromium CI and the results on wpt.fyi? |
No tests in the navigation API test suite were .window.js tests, so this problem remains. In particular, every failing-on-wpt.fyi test in the test suite (66 failures out of 400) passes on Chromium CI / when run on wpt.live. |
I see, so this is about how wptrunner with the WebDriver executor opens the tests: wpt/tools/wptrunner/wptrunner/executors/executorwebdriver.py Lines 493 to 507 in 0136915
There's a tab open that doesn't run any tests, and we use that to So tests can't assume that they get loaded without any history. @jgraham any idea how we could provide guarantees here? |
The Firefox (marionette) implementation already uses a tab per test: wpt/tools/wptrunner/wptrunner/executors/executormarionette.py Lines 926 to 935 in 0136915
Historically Firefox has been more concerned about stability and others more concerned about performance, which might explain this difference (or it might be unintentional, I don't know). |
Oh, sorry my comment is nonsense; it is the same. But yes, I agree that we explicitly load I think if tests really want detailed control over the state of session history, they probably ought to open a new window that they own directly. |
@domenic would it be practical to run these tests in a new window? |
It would require rewriting the entire test suite. (And probably many tests in html/browsers/ as well.) I don't think that's a fair thing to require of test authors, especially given that it works fine on wpt.live / Chromium CI / etc. |
…tra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for #33590. Change-Id: I406474b33d9c17b682d5d54fc88f5c677bc3d3ea
…nHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for #33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7
…nHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for #33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7
…tra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for #33590. Change-Id: I406474b33d9c17b682d5d54fc88f5c677bc3d3ea
…NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for #33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14
…NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenic@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204863}
…nHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for web-platform-tests/wpt#33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903245 Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by: Domenic Denicola <domenic@chromium.org> Reviewed-by: Weizhong Xia <weizhong@google.com> Cr-Commit-Position: refs/heads/main@{#1204873}
…tra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I406474b33d9c17b682d5d54fc88f5c677bc3d3ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904062 Reviewed-by: Domenic Denicola <domenic@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204876}
…NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for #33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenic@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204863}
…nHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for #33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903245 Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by: Domenic Denicola <domenic@chromium.org> Reviewed-by: Weizhong Xia <weizhong@google.com> Cr-Commit-Position: refs/heads/main@{#1204873}
…tra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for #33590. Change-Id: I406474b33d9c17b682d5d54fc88f5c677bc3d3ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904062 Reviewed-by: Domenic Denicola <domenic@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204876}
…NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for #33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenic@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204863}
…tra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for #33590. Change-Id: I406474b33d9c17b682d5d54fc88f5c677bc3d3ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904062 Reviewed-by: Domenic Denicola <domenic@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204876}
…nHistoryEntries (#42232) When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for #33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903245 Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by: Domenic Denicola <domenic@chromium.org> Reviewed-by: Weizhong Xia <weizhong@google.com> Cr-Commit-Position: refs/heads/main@{#1204873} Co-authored-by: Nate Chapin <japhet@chromium.org>
…lient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenic@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204863} -- wpt-commits: 4cd570dc80fec7b17cad121e7ac866badf62df38 wpt-pr: 42233
…lient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenic@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204863} -- wpt-commits: 4cd570dc80fec7b17cad121e7ac866badf62df38 wpt-pr: 42233
…lient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenic@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204863} -- wpt-commits: 4cd570dc80fec7b17cad121e7ac866badf62df38 wpt-pr: 42233
…lient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenic@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204863} -- wpt-commits: 4cd570dc80fec7b17cad121e7ac866badf62df38 wpt-pr: 42233
…nHistoryEntries (web-platform-tests#42232) When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for web-platform-tests#33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903245 Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by: Domenic Denicola <domenic@chromium.org> Reviewed-by: Weizhong Xia <weizhong@google.com> Cr-Commit-Position: refs/heads/main@{#1204873} Co-authored-by: Nate Chapin <japhet@chromium.org>
…lient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenicchromium.org> Auto-Submit: Nate Chapin <japhetchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Cr-Commit-Position: refs/heads/main{#1204863} -- wpt-commits: 4cd570dc80fec7b17cad121e7ac866badf62df38 wpt-pr: 42233 UltraBlame original commit: 0ffb634e43b9353a7b4d17a11b06b1ca4cb3f779
…lient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenicchromium.org> Auto-Submit: Nate Chapin <japhetchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Cr-Commit-Position: refs/heads/main{#1204863} -- wpt-commits: 4cd570dc80fec7b17cad121e7ac866badf62df38 wpt-pr: 42233 UltraBlame original commit: c186ac4a11f4ae88b63b2cf1993dbe34eaf97e45
…lient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenicchromium.org> Auto-Submit: Nate Chapin <japhetchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Cr-Commit-Position: refs/heads/main{#1204863} -- wpt-commits: 4cd570dc80fec7b17cad121e7ac866badf62df38 wpt-pr: 42233 UltraBlame original commit: 0ffb634e43b9353a7b4d17a11b06b1ca4cb3f779
…lient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenicchromium.org> Auto-Submit: Nate Chapin <japhetchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Cr-Commit-Position: refs/heads/main{#1204863} -- wpt-commits: 4cd570dc80fec7b17cad121e7ac866badf62df38 wpt-pr: 42233 UltraBlame original commit: c186ac4a11f4ae88b63b2cf1993dbe34eaf97e45
…lient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenicchromium.org> Auto-Submit: Nate Chapin <japhetchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Cr-Commit-Position: refs/heads/main{#1204863} -- wpt-commits: 4cd570dc80fec7b17cad121e7ac866badf62df38 wpt-pr: 42233 UltraBlame original commit: 0ffb634e43b9353a7b4d17a11b06b1ca4cb3f779
…lient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenicchromium.org> Auto-Submit: Nate Chapin <japhetchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Cr-Commit-Position: refs/heads/main{#1204863} -- wpt-commits: 4cd570dc80fec7b17cad121e7ac866badf62df38 wpt-pr: 42233 UltraBlame original commit: c186ac4a11f4ae88b63b2cf1993dbe34eaf97e45
…resilient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigation-methods/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I406474b33d9c17b682d5d54fc88f5c677bc3d3ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904062 Reviewed-by: Domenic Denicola <domenic@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204876} -- wpt-commits: e1f2e7c0dd66323b85a8cb90182066ed3e6cef9f wpt-pr: 42228
…starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/ tests resilient to starting with extra NavigationHistoryEntries (#42232) When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for web-platform-tests/wpt#33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903245 Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by: Domenic Denicola <domenic@chromium.org> Reviewed-by: Weizhong Xia <weizhong@google.com> Cr-Commit-Position: refs/heads/main@{#1204873} Co-authored-by: Nate Chapin <japhet@chromium.org> -- wpt-commits: 0a5ef44bf2e1c9be8f50beee9936771d5adcd35b wpt-pr: 42232
…resilient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigation-methods/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I406474b33d9c17b682d5d54fc88f5c677bc3d3ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904062 Reviewed-by: Domenic Denicola <domenic@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204876} -- wpt-commits: e1f2e7c0dd66323b85a8cb90182066ed3e6cef9f wpt-pr: 42228
…starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/ tests resilient to starting with extra NavigationHistoryEntries (#42232) When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for web-platform-tests/wpt#33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903245 Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by: Domenic Denicola <domenic@chromium.org> Reviewed-by: Weizhong Xia <weizhong@google.com> Cr-Commit-Position: refs/heads/main@{#1204873} Co-authored-by: Nate Chapin <japhet@chromium.org> -- wpt-commits: 0a5ef44bf2e1c9be8f50beee9936771d5adcd35b wpt-pr: 42232
…resilient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigation-methods/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I406474b33d9c17b682d5d54fc88f5c677bc3d3ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904062 Reviewed-by: Domenic Denicola <domenicchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Auto-Submit: Nate Chapin <japhetchromium.org> Cr-Commit-Position: refs/heads/main{#1204876} -- wpt-commits: e1f2e7c0dd66323b85a8cb90182066ed3e6cef9f wpt-pr: 42228 UltraBlame original commit: e07bed29cec7132e582ee3c817c246fe2af0e1b9
…starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/ tests resilient to starting with extra NavigationHistoryEntries (#42232) When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for web-platform-tests/wpt#33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903245 Auto-Submit: Nate Chapin <japhetchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Reviewed-by: Domenic Denicola <domenicchromium.org> Reviewed-by: Weizhong Xia <weizhonggoogle.com> Cr-Commit-Position: refs/heads/main{#1204873} Co-authored-by: Nate Chapin <japhetchromium.org> -- wpt-commits: 0a5ef44bf2e1c9be8f50beee9936771d5adcd35b wpt-pr: 42232 UltraBlame original commit: 4bba353a6fc4ef86f5506a4fec3f82704490ce6c
…resilient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigation-methods/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I406474b33d9c17b682d5d54fc88f5c677bc3d3ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904062 Reviewed-by: Domenic Denicola <domenicchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Auto-Submit: Nate Chapin <japhetchromium.org> Cr-Commit-Position: refs/heads/main{#1204876} -- wpt-commits: e1f2e7c0dd66323b85a8cb90182066ed3e6cef9f wpt-pr: 42228 UltraBlame original commit: e07bed29cec7132e582ee3c817c246fe2af0e1b9
…starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/ tests resilient to starting with extra NavigationHistoryEntries (#42232) When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for web-platform-tests/wpt#33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903245 Auto-Submit: Nate Chapin <japhetchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Reviewed-by: Domenic Denicola <domenicchromium.org> Reviewed-by: Weizhong Xia <weizhonggoogle.com> Cr-Commit-Position: refs/heads/main{#1204873} Co-authored-by: Nate Chapin <japhetchromium.org> -- wpt-commits: 0a5ef44bf2e1c9be8f50beee9936771d5adcd35b wpt-pr: 42232 UltraBlame original commit: 4bba353a6fc4ef86f5506a4fec3f82704490ce6c
…resilient to starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/navigation-methods/ resilient to starting with extra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests/wpt#33590. Change-Id: I406474b33d9c17b682d5d54fc88f5c677bc3d3ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904062 Reviewed-by: Domenic Denicola <domenicchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Auto-Submit: Nate Chapin <japhetchromium.org> Cr-Commit-Position: refs/heads/main{#1204876} -- wpt-commits: e1f2e7c0dd66323b85a8cb90182066ed3e6cef9f wpt-pr: 42228 UltraBlame original commit: e07bed29cec7132e582ee3c817c246fe2af0e1b9
…starting with extra NavigationHistoryEntries, a=testonly Automatic update from web-platform-tests Make navigation-api/ tests resilient to starting with extra NavigationHistoryEntries (#42232) When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for web-platform-tests/wpt#33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903245 Auto-Submit: Nate Chapin <japhetchromium.org> Commit-Queue: Nate Chapin <japhetchromium.org> Reviewed-by: Domenic Denicola <domenicchromium.org> Reviewed-by: Weizhong Xia <weizhonggoogle.com> Cr-Commit-Position: refs/heads/main{#1204873} Co-authored-by: Nate Chapin <japhetchromium.org> -- wpt-commits: 0a5ef44bf2e1c9be8f50beee9936771d5adcd35b wpt-pr: 42232 UltraBlame original commit: 4bba353a6fc4ef86f5506a4fec3f82704490ce6c
…NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests#33590. Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223 Reviewed-by: Domenic Denicola <domenic@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204863}
…tra NavigationHistoryEntries When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This is a workaround for web-platform-tests#33590. Change-Id: I406474b33d9c17b682d5d54fc88f5c677bc3d3ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904062 Reviewed-by: Domenic Denicola <domenic@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204876}
…nHistoryEntries (web-platform-tests#42232) When WPT are run in-browser or via wptrunner, there may be additional session history entries when the test starts, so the tests shouldn't assume that they start with navigation.entries().length == 1 or navigation.currentEntry.index == 0. This fixes all directories except navigate-event/ and navigation-methods/, which had enough tests to deserve separate treatment. This is a workaround for web-platform-tests#33590. Change-Id: Ic60de8ffe247b374ef3a0e0939fc4c1a3427c7e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903245 Auto-Submit: Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by: Domenic Denicola <domenic@chromium.org> Reviewed-by: Weizhong Xia <weizhong@google.com> Cr-Commit-Position: refs/heads/main@{#1204873} Co-authored-by: Nate Chapin <japhet@chromium.org>
@jgraham would user contexts in WebDriver BiDi help with this issue? I imagine we can configure the test runner to run certain tests in a fresh user context so that the test code itself does not need to be updated. |
https://wpt.fyi/results/navigation-api?label=master&label=experimental&aligned shows lots of failures in Chromium. The results are inconsistent between Chrome and Edge.
Those failures do not appear in Chromium CI. They do not appear in the stability checker when CLs are exported. They do not appear when running the tests using wpt.live.
One guess as to why this is happening is due to the unique nature of these tests as testing navigation and history traversal, which makes them sensitive to things like browsing context reuse. Perhaps when collecting results for wpt.fyi, the tests are run in a window that is then navigated to a second test, instead of being run in a fresh window? That would definitely break most of these tests.
The text was updated successfully, but these errors were encountered: