Closed Bug 1888578 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 45420 - Introduce PointerEvent.deviceProperties

Categories

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

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Sahir Vellani <sahir.vellani@microsoft.com> wrote:

Introduce PointerEvent.deviceProperties

This change replaces deviceId on the PointerEvent interface with a new interface, deviceProperties. DeviceProperties contains one member, uniqueId, which functionally behaves the same as the outgoing deviceId.

Spec: https://github.com/w3c/pointerevents/pull/495

This change also removes the setting of deviceId when creating a PointerCancel event, as there is no current application for device/unique id for a PointerCancel.

Bug: 330760871
Change-Id: I0f1a9f7d5589f790d94f498a38bfdf55b6f51073
Reviewed-on: https://chromium-review.googlesource.com/5388651
WPT-Export-Revision: 8b374cff81e2f88bab179c5044093f2eb9833372

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 2 tests and 3 subtests

Status Summary

Firefox

OK : 2
PASS: 4

Chrome

OK : 2
PASS: 4

Safari

OK : 2
PASS: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7ab6e3d09951 [wpt PR 45420] - Introduce PointerEvent.deviceProperties, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.