From b29c0837b336a17d4aca09b9afbb82ac30748385 Mon Sep 17 00:00:00 2001 From: Sahir Vellani Date: Mon, 24 Jun 2024 17:33:26 -0700 Subject: [PATCH] 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} --- ...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 pointerevents/{deviceproperties/get-device-properties-uniqueid-from-pointer-event.tentative.html => persistentDeviceId/get-persistendeviceid-from-pointer-event.tentative.html} (86%) rename pointerevents/{deviceproperties/unique-id-is-unique-manual.tentative.html => persistentDeviceId/persistentdeviceid-is-unique-manual.tentative.html} (82%) rename 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/pointerevents/deviceproperties/get-device-properties-uniqueid-from-pointer-event.tentative.html b/pointerevents/persistentDeviceId/get-persistendeviceid-from-pointer-event.tentative.html similarity index 86% rename from pointerevents/deviceproperties/get-device-properties-uniqueid-from-pointer-event.tentative.html rename to pointerevents/persistentDeviceId/get-persistendeviceid-from-pointer-event.tentative.html index dc6b9379c11403..9f77c1c9e9559d 100644 --- a/pointerevents/deviceproperties/get-device-properties-uniqueid-from-pointer-event.tentative.html +++ b/pointerevents/persistentDeviceId/get-persistendeviceid-from-pointer-event.tentative.html @@ -16,13 +16,13 @@
- \ No newline at end of file diff --git a/pointerevents/deviceproperties/unique-id-is-unique-manual.tentative.html b/pointerevents/persistentDeviceId/persistentdeviceid-is-unique-manual.tentative.html similarity index 82% rename from pointerevents/deviceproperties/unique-id-is-unique-manual.tentative.html rename to pointerevents/persistentDeviceId/persistentdeviceid-is-unique-manual.tentative.html index 55db05353f5a2f..f9f15cfaea85a1 100644 --- a/pointerevents/deviceproperties/unique-id-is-unique-manual.tentative.html +++ b/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