[wpt-sync] Sync PR 42845 - [wdspec] rewrite remove network interception tests to fail gracefully
Categories
(Remote Protocol :: WebDriver BiDi, task, P4)
Tracking
(firefox122 fixed)
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42845 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42845
Details from upstream follow.
Thiago Perrotta <tperrotta@chromium.org> wrote:
[wdspec] rewrite remove network interception tests to fail gracefully
- Use navigation with an expected timeout instead of fetch with an expected exception.
From a test implementation perspective this is a no-op as, when the network interception triggers, the navigation is expected to not complete (and thus timeout).
- Introduce a "wait_for_future_safe" fixture that gracefully fails the await of a future instead of making the whole test suite fail.
Instead of aborting the "wpt run" when there is a timeout, treat the timeout as a failure, effectively failing gracefully. This allows subsequent tests to run, and expectations to be updated later on.
Related: https://github.com/w3c/webdriver-bidi/issues/188
Bug: #42482
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cd47cb42662e
https://hg.mozilla.org/mozilla-central/rev/e20836430d51
Description
•