Closed Bug 1938085 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 49759 - [wdspec] change test_..._closes_browsing_context

Categories

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

task

Tracking

(firefox135 fixed)

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Maksim Sadym <sadym@chromium.org> wrote:

[wdspec] change test_..._closes_browsing_context

The tests relied on the script closing browsing context which causes "Scripts may only close windows that were opened by a script".

The new approach is to close browsing context by a command during actions chain. This approach can be racy though.

Firefox uses a special flag for WPT which allows scripts closing browsing contexts.

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

CI Results

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

Total 4 tests and 10 subtests

Status Summary

Firefox

OK : 4
PASS : 43
FAIL : 7

Chrome

OK : 4
PASS : 46
FAIL : 4

Safari

OK : 4
ERROR: 50

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webdriver/tests/bidi/input/perform_actions/pointer_pen.py [wpt.fyi]
    • test_pointer_down_closes_browsing_context: FAIL (Chrome: FAIL, Safari: ERROR)
    • test_pen_pointer_in_shadow_tree[outer-open]: FAIL (Chrome: PASS, Safari: ERROR)
    • test_pen_pointer_in_shadow_tree[outer-closed]: FAIL (Chrome: PASS, Safari: ERROR)
    • test_pen_pointer_in_shadow_tree[inner-open]: FAIL (Chrome: PASS, Safari: ERROR)
    • test_pen_pointer_in_shadow_tree[inner-closed]: FAIL (Chrome: PASS, Safari: ERROR)
    • test_pen_pointer_properties: FAIL (Chrome: PASS, Safari: ERROR)
  • /webdriver/tests/bidi/input/perform_actions/pointer_touch.py [wpt.fyi]
    • test_touch_pointer_properties_angle_twist: FAIL (Chrome: PASS, Safari: ERROR)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/23be94e77065 [wpt PR 49759] - [wdspec] change test_..._closes_browsing_context, a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.