You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: files/en-us/mozilla/firefox/releases/141/index.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,9 @@ Firefox 141 is the current [Beta version of Firefox](https://www.mozilla.org/en-
52
52
53
53
<!-- #### Removals -->
54
54
55
-
<!-- ### APIs -->
55
+
### APIs
56
+
57
+
- The {{domxref("PointerEvent/persistentDeviceId","persistentDeviceId")}} property of the {{domxref("PointerEvent")}} interface is now supported. This gives each pointing device that interacts with the screen a unique ID that persists for the session. It provides a reliable way to identify multiple pointing devices (such as pens) interacting with the screen simultaneously. ([Firefox bug 1968400](https://bugzil.la/1968400)).
The **`persistentDeviceId`** read-only property of the
12
-
{{domxref("PointerEvent")}} interface is a unique identifier for the pointing device generating the `PointerEvent`. This provides a secure, reliable way to identify multiple pointing devices (such as pens) interacting with the screen simultaneously.
11
+
The **`persistentDeviceId`** read-only property of the {{domxref("PointerEvent")}} interface is a unique identifier for the pointing device generating the `PointerEvent`.
12
+
This provides a secure, reliable way to identify multiple pointing devices (such as pens) interacting with the screen simultaneously.
13
13
14
-
A `persistentDeviceId` persists for the lifetime of a browsing session. To avoid the risk of fingerprinting/tracking, pointing devices are assigned a new `persistentDeviceId` at the start of each session.
14
+
A `persistentDeviceId` persists for the lifetime of a browsing session.
15
+
To avoid the risk of fingerprinting/tracking, pointing devices are assigned a new `persistentDeviceId` at the start of each session.
15
16
16
17
Pointer events whose generating device could not be identified are assigned a `persistentDeviceId` value of `0`.
17
18
@@ -20,17 +21,20 @@ Pointer events whose generating device could not be identified are assigned a `p
20
21
An integer, or `0` if the device generating the `PointerEvent` could not be identified.
21
22
22
23
> [!NOTE]
23
-
> Due to digitizer and pointing device hardware constraints, a `persistentDeviceId` may not be available for all pointer events, particularly with older hardware. For example, the pointing device might not report its hardware ID to the digitizer in time for `pointerdown` to receive a `persistentDeviceId`: it may initially be `0` and change to a valid value for later events in the stroke.
24
+
> Due to digitizer and pointing device hardware constraints, a `persistentDeviceId` may not be available for all pointer events, particularly with older hardware.
25
+
> For example, the pointing device might not report its hardware ID to the digitizer in time for `pointerdown` to receive a `persistentDeviceId`: it may initially be `0` and change to a valid value for later events in the stroke.
0 commit comments