w3c / security-request

Horizontal review requests will be made via issues in this repo.
4 stars 4 forks source link

[mediaqueries-5] Security and privacy self-review for prefers-contrast 2021-08-04 #9

Open sartang opened 3 years ago

sartang commented 3 years ago

We have conducted a self-review of our spec prefers-contrast, and the results can be found below.

  1. What information might this feature expose to websites or other parties, and for what purposes is that exposure necessary? The user's contrast preference (more, less, custom, no-preference) is exposed through the media query. Without this, it would be impossible for the author to adjust styles in accordance with the user's preferences.

  2. Is this specification exposing the minimum amount of information necessary to power the feature? Yes

  3. How does this specification deal with personal information or personally-identifiable information or information derived thereof? N/A

  4. How does this specification deal with sensitive information? N/A

  5. Does this specification introduce new state for an origin that persists across browsing sessions? No.

  6. What information from the underlying platform, e.g. configuration data, is exposed by this specification to an origin? User's contrast preference is exposed.

  7. Does this specification allow an origin access to sensors on a user's device? No

  8. What data does this specification expose to an origin? Please also document what data is identical to data exposed by other features, in the same or different contexts. User's contrast preference is exposed.

  9. Does this specification enable new script execution/loading mechanisms? No

  10. Does this specification allow an origin to access other devices? No

  11. Does this specification allow an origin some measure of control over a user agent's native UI? No

  12. What temporary identifiers might this specification create or expose to the web? None

  13. How does this specification distinguish between behavior in first- and third-party contexts? N/A

  14. How does this specification work in the context of a user agent's Private Browsing or Incognito mode? No difference

  15. Does this specification have a "Security considerations" and "Privacy considerations" section? Yes: https://drafts.csswg.org/mediaqueries-5/#mq-prefers-security

  16. Does this specification allow downgrading default security characteristics? No

  17. What should this questionnaire have asked? :)