@annevk commented on this pull request.
> + is being held, and also prevents the [=secondary=] orientation type and
+ associated angles from being user for fingerprinting purposes.
+ </p>
+ <p>
+ To resist fingerprinting (e.g., in private browsing), user agents MAY:
+ </p>
+ <ul>
+ <li>Depending on the screen's aspect ratio, only return either
+ {{OrientationType/"portrait-primary"}} or
+ {{OrientationType/"landscape-primary"}} for the value of the
+ {{ScreenOrientation/type}} attribute.
+ </li>
+ <li>For any [=natural=] orientation ([=portrait=] or [=landscape=]),
+ always return `0` for the value of the {{ScreenOrientation/angle}}
+ attribute. And for any rotated/opposite orientation, always return `90`
+ for the value of the {{ScreenOrientation/angle}} attribute.
Okay, so this means we will be exposing the natural direction of the device. Or is the natural direction simply the direction the user used when navigating to the site?
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/pull/215#pullrequestreview-1145262811
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/screen-orientation/pull/215/review/1145262811@github.com>