Skip to content

A more modest request() #158

@annevk

Description

@annevk

We've been looking at orientation/motion events yet again and the idea came up to permission-gate them. For this having something like request() with a simple string value seems useful.

Another case that keeps coming up is the clipboard. See w3c/clipboard-apis#51 for the latest discussion there.

Perhaps rather than an open-ended request() method, we could start out with just a couple simple values for which everything is known, rather than try to support all permissions. I hope that might address the concerns raised in #83. So we basically would use request() when there's no better alternative.

(I'm not sure where the initial email went, but here is the recent thread on restricting orientation/motion events: https://un5q0n0ruuqx6vxrwk2rxd8.julianrbryant.com/d/msg/mozilla.dev.platform/1YdMiVQ2zaU/UOocyiTzDwAJ.)

cc @ehsan @martinthomson @garykac @jan-ivar @jyasskin @marcoscaceres

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