Closed Bug 1841588 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 40868 - [CapturedMouseEvents] Export web platform tests

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox117 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Frédéric Wang <fwang@igalia.com> wrote:

[CapturedMouseEvents] Export web platform tests

This patch exports existing WPT tests added in [1], using the directory
recently introduced in [2] and taking into account the recent renaming
to "captured mouse events".

It also adds a manual test that is verified to pass with [3] applied.
WPT does not provide support for more complex and automated tests,
so this is just a minimal verification. More advanced internal tests
with wider coverage will be added in [3].

[1] https://chromium-review.googlesource.com/c/chromium/src/+/4517372
[2] https://github.com/web-platform-tests/wpt/pull/40826
[3] https://chromium-review.googlesource.com/c/chromium/src/+/4549484

Bug: 1444712
Change-Id: I8ed455c406d6cba81cb4df0651509b6d6f7bd991

Reviewed-on: https://chromium-review.googlesource.com/4661012
WPT-Export-Revision: 82233ec5ffe1d947583b9542dc3f66a7bdca1242

PR 40868 applied with additional changes from upstream: fc6fe9d9d1c15010eb704cc5964749e7e2e3327e

CI Results

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

Total 4 tests and 18 subtests

Status Summary

Firefox

OK : 4
PASS: 2
FAIL: 24

Chrome

OK : 4
PASS: 7
FAIL: 19

Safari

OK : 4
PASS: 2
FAIL: 24

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /captured-mouse-events/capture-controller-oncapturedmousechange.https.html [wpt.fyi]
    • oncapturedmousechange is initially unset: FAIL (Chrome: FAIL, Safari: FAIL)
    • dispatching a CapturedMouseEvent on CaptureController should trigger oncapturedmousechange: FAIL (Chrome: FAIL, Safari: FAIL)
  • /captured-mouse-events/captured-mouse-event-constructor-inherited.html [wpt.fyi]
    • type argument is passed to the Event's constructor: FAIL (Chrome: FAIL, Safari: FAIL)
    • EventInit options are passed to the Event's constructor: FAIL (Chrome: FAIL, Safari: FAIL)
  • /captured-mouse-events/captured-mouse-event-constructor.html [wpt.fyi]
    • type argument is mandatory: FAIL (Chrome: FAIL, Safari: FAIL)
    • Invalid surfaceX/surfaceY options cause a RangeError to be thrown: FAIL (Chrome: FAIL, Safari: FAIL)
    • Valid surfaceX/surfaceY options are used as initial values: FAIL (Chrome: FAIL, Safari: FAIL)
    • surfaceX/surfaceY default to -1: FAIL (Chrome: FAIL, Safari: FAIL)
  • /captured-mouse-events/idlharness.https.window.html [wpt.fyi]
    • CaptureController interface: existence and properties of interface object: FAIL (Chrome: FAIL, Safari: FAIL)
    • CaptureController interface object length: FAIL (Chrome: PASS, Safari: FAIL)
    • CaptureController interface object name: FAIL (Chrome: PASS, Safari: FAIL)
    • CaptureController interface: existence and properties of interface prototype object: FAIL (Chrome: FAIL, Safari: FAIL)
    • CaptureController interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: PASS, Safari: FAIL)
    • CaptureController interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: PASS, Safari: FAIL)
    • CaptureController interface: operation setFocusBehavior(CaptureStartFocusBehavior): FAIL (Chrome: PASS, Safari: FAIL)
    • CaptureController interface: attribute oncapturedmousechange: FAIL (Chrome: FAIL, Safari: FAIL)
    • CapturedMouseEvent interface: existence and properties of interface object: FAIL (Chrome: FAIL, Safari: FAIL)
    • CapturedMouseEvent interface object length: FAIL (Chrome: FAIL, Safari: FAIL)
    • CapturedMouseEvent interface object name: FAIL (Chrome: FAIL, Safari: FAIL)
    • CapturedMouseEvent interface: existence and properties of interface prototype object: FAIL (Chrome: FAIL, Safari: FAIL)
    • CapturedMouseEvent interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: FAIL, Safari: FAIL)
    • CapturedMouseEvent interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: FAIL, Safari: FAIL)
    • CapturedMouseEvent interface: attribute surfaceX: FAIL (Chrome: FAIL, Safari: FAIL)
    • CapturedMouseEvent interface: attribute surfaceY: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f575dff16b1 [wpt PR 40868] - [CapturedMouseEvents] Export web platform tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/30abc2040696 [wpt PR 40868] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.