Re: [w3c/screen-orientation] Strengthen Anti-Fingerprinting Requirements from SHOULD → MUST (Issue #277)

marcoscaceres left a comment (w3c/screen-orientation#277)

Thanks for the review. I'm closing this issue as not planned. Here is where each request stands.

**Make the mitigations MUST.** The four mitigations are in the [Privacy and Security Considerations](https://w3c.github.io/screen-orientation/#privacy-and-security-considerations) section, and they are SHOULD. A privacy reviewer asked about some of these protections in [Must natural orientation be detectable?](https://github.com/w3c/screen-orientation/issues/259), and [Address privacy review feedback](https://github.com/w3c/screen-orientation/pull/266) changed them to SHOULD. As unconditional MUSTs, they would also hide the secondary orientation types and the 180 and 270 degree angles that the spec defines.

**Do not expose lock state, hinge, second screen, or device type.** The issue does not define "observable behavior", so I cannot turn this request into a testable requirement. The spec defines no hinge or posture state. The spec already says: "A user agent MUST restrict the use of lock() to simple fullscreen documents as a pre-lock condition. This requirement prevents fingerprinting through differences in user agent behavior regarding orientation locking permissions." The open pull request [Make pre-lock conditions non-optional](https://github.com/w3c/screen-orientation/pull/287) makes the pre-lock conditions required.

**Make event timing the same everywhere.** The spec runs the lock attempt in parallel and queues the events afterward. The spec sets no durations for either, and I do not see a way to test timing across devices.

**Standardize unsupported lock types.** `lock()` already rejects with `NotSupportedError` when the user agent does not support the type. The spec also says that user agents might support only some lock types. The issue does not say what a fallback would do instead.

**Make lock support independent of operating system state.** The spec lets a lock fail because of a user preference or a platform limit. The note in [Applying an orientation lock](https://w3c.github.io/screen-orientation/#applying-an-orientation-lock) says that such differences could potentially be used for fingerprinting. The fullscreen requirement above limits locking to fullscreen documents. I do not see a requirement that would remove the difference, because the cause is a user preference or a platform limit.

**Browser brand, version, and platform type.** A difference that only separates one browser or platform from another tells a page nothing new about the user. Pages can already tell them apart, for example from the User-Agent string. A new fingerprinting vector needs two users of the same browser build who see different values. If you have such a case, please open a new issue with the code and the settings that produce the difference.

A note for next time: reviews written with AI tools often come out as wish lists, which are hard to act on. Please tune them before sending. Write each request as a testable assertion. Name the spec text to change, what a user agent or page must do, and how a test can check it. Please also read the current spec first, because some requests here were already covered.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/issues/277#issuecomment-7264206954
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/screen-orientation/issues/277/7264206954@github.com>

Received on Sunday, 29 November 2026 23:07:33 UTC