Skip to content

New principle: use "user attention" to prevent abuse of/by certain APIs #602

@marcoscaceres

Description

@marcoscaceres

This was brought up in our discussion of Screen Orientation APIs use of user attention by @bvandersloot-mozilla:
w3c/screen-orientation#262

In which:

If I understand correctly, these events only fire on visible, top-level windows. This seems like a great property to hold!
...
It would be interesting to be able to make this a recommendation to other APIs that issue events that may reveal user information, but are essential to a page working.

And relavant pull request:
w3c/screen-orientation#266

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions