Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define and export "accelerometer" permission #67

Merged
merged 1 commit into from Oct 18, 2022

Conversation

miketaylr
Copy link
Member

@miketaylr miketaylr commented Oct 18, 2022

This way we can eventually link to it from https://w3c.github.io/permissions-registry/


Preview | Diff

@anssiko
Copy link
Member

anssiko commented Oct 18, 2022

Thanks @miketaylr!

@reillyeon reillyeon merged commit 34cfefb into w3c:main Oct 18, 2022
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 34cfefb
Reason: push, by reillyeon

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
rakuco added a commit to rakuco/magnetometer that referenced this pull request Oct 24, 2023
This is similar to w3c/accelerometer#67: with this we can eventually link to
the permission name from https://w3c.github.io/permissions-registry/
rakuco added a commit to rakuco/gyroscope that referenced this pull request Oct 24, 2023
…re name

* Move the permissions-policy text to a separate section for clarity.
* Stop saying "Gyroscope a policy-controlled feature" because it does not
  make much sense. The most common way to list features is by saying
  something like "this spec defines a feature identifed by the string
  'foo'". In our case, that string is "gyroscope".
* Define and export the feature identifier above, as it is used in e.g. the
  Orientation Sensor specification.
* Explicitly list all data associated with the spec's sensor type using a
  definition list instead of a very long paragraph.
* Similarly to w3c/accelerometer#67, define and export the "gyroscope"
  permission so that we can eventually link to the permission name from
  https://w3c.github.io/permissions-registry/
rakuco added a commit to rakuco/proximity that referenced this pull request Oct 26, 2023
…re name

* Move the permissions-policy text to a separate section for clarity.
* Stop saying "Proximity Sensor a policy-controlled feature" because it does
  not make much sense. The most common way to list features is by saying
  something like "this spec defines a feature identifed by the string
  'foo'". In our case, that string is "proximity-sensor".
* Define and export the feature identifier above.
* Explicitly list all data associated with the spec's sensor type using a
  definition list instead of a very long paragraph.
* Similarly to w3c/accelerometer#67, define and export the "gyroscope"
  permission so that we can eventually link to the permission name from
  https://w3c.github.io/permissions-registry/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants