Skip to content

Commit

Permalink
Bug 1904460 [wpt PR 46888] - Swap PointerEvent.deviceProperties with …
Browse files Browse the repository at this point in the history
…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: w3c/pointerevents#495

Change-Id: Ia284adc60bc4030b69dbec89d0e37117fecf3f83
Bug: 330760871
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5643255
Commit-Queue: Sahir Vellani <sahir.vellanimicrosoft.com>
Reviewed-by: Olga Gerchikov <gerchikomicrosoft.com>
Reviewed-by: Robert Flack <flackrchromium.org>
Cr-Commit-Position: refs/heads/main{#1318886}

--

wpt-commits: b29c0837b336a17d4aca09b9afbb82ac30748385
wpt-pr: 46888

UltraBlame original commit: 84225becd9d58cb4946fefdbbd42aeda5dc9445c
  • Loading branch information
marco-c committed Jul 1, 2024
1 parent 969574d commit 46a51da
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 158 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@
that
pointerEvent
.
deviceProperties
.
uniqueId
persistentDeviceId
is
0
by
Expand Down Expand Up @@ -234,9 +232,7 @@
(
event
.
deviceProperties
.
uniqueId
persistentDeviceId
0
"
deviceId
Expand Down Expand Up @@ -342,9 +338,7 @@
'
PointerEvent
.
deviceProperties
.
uniqueId
persistentDeviceId
'
)
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
of
PointerEvent
.
deviceProperties
.
uniqueId
persistentDeviceId
.
Specifically
this
Expand Down Expand Up @@ -111,9 +109,7 @@
<
title
>
DeviceProperties
.
uniqueId
persistentDeviceId
is
unique
for
Expand Down Expand Up @@ -659,44 +655,33 @@
(
event
.
deviceProperties
persistentDeviceId
)
{
const
uniqueId
persistentDeviceId
=
event
.
deviceProperties
.
uniqueId
persistentDeviceId
;
currentuniqueid
.
innerText
=
uniqueId
persistentDeviceId
?
uniqueId
persistentDeviceId
:
"
Unknown
"
;
if
(
!
uniqueId
)
{
return
;
}
list
.
push
(
uniqueId
persistentDeviceId
)
;
}
Expand Down Expand Up @@ -768,7 +753,7 @@
Device
1
have
uniqueIds
deviceIds
.
"
)
Expand All @@ -785,14 +770,14 @@
has
a
consistent
uniqueId
deviceId
.
"
)
;
}
"
uniqueId
deviceId
is
consistent
for
Expand All @@ -819,7 +804,7 @@
Device
2
have
uniqueIds
deviceIds
.
"
)
Expand All @@ -836,14 +821,14 @@
has
a
consistent
uniqueId
deviceId
.
"
)
;
}
"
uniqueId
deviceId
is
consistent
for
Expand Down Expand Up @@ -885,14 +870,14 @@
2
have
different
uniqueIds
deviceIds
.
"
)
;
}
"
uniqueId
deviceId
is
unique
to
Expand Down
Loading

0 comments on commit 46a51da

Please sign in to comment.