Closed Bug 1940766 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 49998 - [Interop] Fix PointerEvent WPT for pointer-capture in iframe

Categories

(Core :: DOM: Events, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mustaq Ahmed <mustaq@google.com> wrote:

[Interop] Fix PointerEvent WPT for pointer-capture in iframe

The test is changed in 3 ways:

  • All browsers are failing the 4th promise_test here [1] because
    the test was wrongly making a pointer-capture request for the
    \<iframe> element on the top frame instead of an element inside
    the iframe. This is fixed.

  • Removed the id innerFrameElement from all promise_tests to
    avoid possible confusion along the same line.

  • When the pointer-capture request is expected to fail, dragging
    the pointer into or out-of an iframe activates a iframe-capture
    behavior, probably on most browsers, that is not defined in the
    PointerEvent spec. Removed pointer dragging in these cases to keep
    the tests focused on well-defined behaviors.

[1] https://wpt.fyi/results/pointerevents/pointerevent_pointercapture_in_frame.html%3Fmouse?label=experimental&label=master&aligned

Bug: 357041460
Change-Id: Ibda5890f5d7d2feb90868aa8e4e99a30ae51a180
Reviewed-on: https://chromium-review.googlesource.com/6150548
WPT-Export-Revision: 0d82542966b353ab39bcde887f8ddf9fca8c4379

Component: web-platform-tests → DOM: Events
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 3 tests and 6 subtests

Status Summary

Firefox

OK : 3
PASS: 10
FAIL: 8

Chrome

OK : 3
PASS: 15
FAIL: 3

Safari

OK : 3
PASS: 17
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL

New Tests That Don't Pass

  • /pointerevents/pointerevent_pointercapture_in_frame.html?touch [wpt.fyi]
    • Test touchpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test touchpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)

CI Results

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

Total 3 tests and 6 subtests

Status Summary

Firefox

OK : 3
PASS: 10
FAIL: 8

Chrome

OK : 3
PASS: 15
FAIL: 3

Safari

OK : 3
PASS: 17
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL

New Tests That Don't Pass

  • /pointerevents/pointerevent_pointercapture_in_frame.html?touch [wpt.fyi]
    • Test touchpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test touchpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)

CI Results

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

Total 3 tests and 6 subtests

Status Summary

Firefox

OK : 3
PASS: 10
FAIL: 8

Chrome

OK : 3
PASS: 15
FAIL: 3

Safari

OK : 3
PASS: 17
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL

New Tests That Don't Pass

  • /pointerevents/pointerevent_pointercapture_in_frame.html?touch [wpt.fyi]
    • Test touchpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test touchpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)

CI Results

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

Total 3 tests and 6 subtests

Status Summary

Firefox

OK : 3
PASS: 10
FAIL: 8

Chrome

OK : 3
PASS: 15
FAIL: 3

Safari

OK : 3
PASS: 17
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL

New Tests That Don't Pass

  • /pointerevents/pointerevent_pointercapture_in_frame.html?touch [wpt.fyi]
    • Test touchpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test touchpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)

CI Results

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

Total 3 tests and 6 subtests

Status Summary

Firefox

OK : 3
PASS: 10
FAIL: 8

Chrome

OK : 3
PASS: 15
FAIL: 3

Safari

OK : 3
PASS: 17
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL

New Tests That Don't Pass

  • /pointerevents/pointerevent_pointercapture_in_frame.html?touch [wpt.fyi]
    • Test touchpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test touchpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ca8e5ace8590 [wpt PR 49998] - [Interop] Fix PointerEvent WPT for pointer-capture in iframe, a=testonly https://hg.mozilla.org/integration/autoland/rev/8a881c743193 [wpt PR 49998] - Update wpt metadata, a=testonly

CI Results

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

Total 3 tests and 6 subtests

Status Summary

Firefox

OK : 3
PASS: 10
FAIL: 8

Chrome

OK : 3
PASS: 15
FAIL: 3

Safari

OK : 3
PASS: 17
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL

New Tests That Don't Pass

  • /pointerevents/pointerevent_pointercapture_in_frame.html?touch [wpt.fyi]
    • Test touchpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test touchpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: FAIL, Safari: PASS)
  • /pointerevents/pointerevent_pointercapture_in_frame.html?pen [wpt.fyi]
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture.: FAIL (Chrome: FAIL, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture in inner frame should not capture.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)
    • Test penpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.: FAIL (Chrome: PASS, Safari: PASS)
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.