Closed Bug 1862613 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 42912 - [wdspec] don't use setup_network_test in add intercept url patterns t…

Categories

(Remote Protocol :: WebDriver BiDi, task, P4)

task

Tracking

(firefox121 fixed)

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 42912 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/42912
Details from upstream follow.

Thiago Perrotta <tperrotta@chromium.org> wrote:

[wdspec] don't use setup_network_test in add intercept url patterns t…

…ests

There are some tests for global interecepts in this module. setup_network_test calls browsingContext.navigate. This introduces a side effect, wherein the navigation call is intercepted.

Simplify the test by using subscribe_events instead of setup_network_test.

Component: web-platform-tests → WebDriver BiDi
Product: Testing → Remote Protocol

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 69 subtests

Status Summary

Firefox

OK : 1
PASS : 69

Chrome

OK : 1
PASS : 10
FAIL : 59

Safari

OK : 1
ERROR: 69

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0465919f6c8e [wpt PR 42912] - [wdspec] don't use setup_network_test in add intercept url patterns tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/7c3c4b4aa992 [wpt PR 42912] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4ea3742dc787 [wpt PR 42912] - [wdspec] don't use setup_network_test in add intercept url patterns tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/3f7ffbd95705 [wpt PR 42912] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.