Re: [w3c/screen-orientation] Rewrite privacy considerations section (PR #215)

@annevk commented on this pull request.



> -          The screen orientation type and angle of the device can be accessed
-          with the API specified in this document, and can be a potential
-          fingerprinting vector.
-        </p>
-      </section>
+      <p>
+        A screen's [=current orientation type|type=] and [=current orientation
+        angle|angle=] are a potential fingerprinting vector. To resist
+        fingerprinting (e.g., in private browsing), user agents MAY:
+      </p>
+      <ol>
+        <li>Restrict the value return by the {{ScreenOrientation/type}}
+        attribute to {{OrientationType/"portrait-primary"}} or
+        {{OrientationType/"landscape-secondary"}} to match the screen's aspect
+        ratio.
+        </li>

Maybe something along these lines:

> Restrict the possible return values of the `type` getter to portrait and landscape. The screen aspect ratio determines which is returned.

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

Message ID: <w3c/screen-orientation/pull/215/review/1145260521@github.com>

Received on Tuesday, 18 October 2022 07:46:33 UTC