From b19538feff7243ed07df089a776e7392853aadda Mon Sep 17 00:00:00 2001 From: Sahir Vellani Date: Thu, 27 Jun 2024 09:56:19 +0000 Subject: [PATCH] Bug 1904460 [wpt PR 46888] - Swap PointerEvent.deviceProperties with PointerEvent.persistentDeviceId, a=testonly Automatic update from web-platform-tests Swap PointerEvent.deviceProperties with PointerEvent.persistentDeviceId Bring back a unique id on the base pointer event and remove deviceProperties. Rather than deviceId, this will be called persistentDeviceId. Spec: https://github.com/w3c/pointerevents/pull/495 Change-Id: Ia284adc60bc4030b69dbec89d0e37117fecf3f83 Bug: 330760871 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5643255 Commit-Queue: Sahir Vellani Reviewed-by: Olga Gerchikov Reviewed-by: Robert Flack Cr-Commit-Position: refs/heads/main@{#1318886} -- wpt-commits: b29c0837b336a17d4aca09b9afbb82ac30748385 wpt-pr: 46888 --- ...eviceid-from-pointer-event.tentative.html} | 6 +-- ...tdeviceid-is-unique-manual.tentative.html} | 31 ++++++------ ...id-from-pointer-event-init.tentative.html} | 49 ++++++------------- 3 files changed, 32 insertions(+), 54 deletions(-) rename testing/web-platform/tests/pointerevents/{deviceproperties/get-device-properties-uniqueid-from-pointer-event.tentative.html => persistentDeviceId/get-persistendeviceid-from-pointer-event.tentative.html} (86%) rename testing/web-platform/tests/pointerevents/{deviceproperties/unique-id-is-unique-manual.tentative.html => persistentDeviceId/persistentdeviceid-is-unique-manual.tentative.html} (82%) rename testing/web-platform/tests/pointerevents/{deviceproperties/pointer-event-has-device-properties-uniqueid-from-pointer-event-init.tentative.html => persistentDeviceId/pointer-event-has-persistentdeviceid-from-pointer-event-init.tentative.html} (52%) diff --git a/testing/web-platform/tests/pointerevents/deviceproperties/get-device-properties-uniqueid-from-pointer-event.tentative.html b/testing/web-platform/tests/pointerevents/persistentDeviceId/get-persistendeviceid-from-pointer-event.tentative.html similarity index 86% rename from testing/web-platform/tests/pointerevents/deviceproperties/get-device-properties-uniqueid-from-pointer-event.tentative.html rename to testing/web-platform/tests/pointerevents/persistentDeviceId/get-persistendeviceid-from-pointer-event.tentative.html index dc6b9379c1140..9f77c1c9e9559 100644 --- a/testing/web-platform/tests/pointerevents/deviceproperties/get-device-properties-uniqueid-from-pointer-event.tentative.html +++ b/testing/web-platform/tests/pointerevents/persistentDeviceId/get-persistendeviceid-from-pointer-event.tentative.html @@ -16,13 +16,13 @@
- \ No newline at end of file diff --git a/testing/web-platform/tests/pointerevents/deviceproperties/unique-id-is-unique-manual.tentative.html b/testing/web-platform/tests/pointerevents/persistentDeviceId/persistentdeviceid-is-unique-manual.tentative.html similarity index 82% rename from testing/web-platform/tests/pointerevents/deviceproperties/unique-id-is-unique-manual.tentative.html rename to testing/web-platform/tests/pointerevents/persistentDeviceId/persistentdeviceid-is-unique-manual.tentative.html index 55db05353f5a2..f9f15cfaea85a 100644 --- a/testing/web-platform/tests/pointerevents/deviceproperties/unique-id-is-unique-manual.tentative.html +++ b/testing/web-platform/tests/pointerevents/persistentDeviceId/persistentdeviceid-is-unique-manual.tentative.html @@ -3,7 +3,7 @@ Tentative; contingent on merge of: https://github.com/w3c/pointerevents/pull/495 - This manual test validates the behavior of PointerEvent.deviceProperties.uniqueId. + This manual test validates the behavior of PointerEvent.persistentDeviceId. Specifically, this test ensures that pointing devices get their own unique id, and that the unique id is persistent over the session. @@ -11,7 +11,7 @@ pen and a mouse. Please follow the instructions exactly as written in order to ensure the correct results are obtained. --> -DeviceProperties.uniqueId is unique for pointer events from different devices +persistentDeviceId is unique for pointer events from different devices