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

editorial: Use permissions and permissions-policy dfn's from DEVICE-ORIENTATION #59

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ urlPrefix: https://w3c.github.io/accelerometer/; spec: ACCELEROMETER
text: device coordinate system
text: screen coordinate system
</pre>
<pre class=link-defaults>
spec:orientation-event; type:dfn; text:gyroscope-feature
spec:orientation-event; type:permission; text:gyroscope
</pre>

<pre class=biblio>
{
Expand Down Expand Up @@ -122,7 +126,7 @@ in the Generic Sensor API [[!GENERIC-SENSOR]].
Permissions Policy integration {#permissions-policy-integration}
==============================

This specification defines a [=policy-controlled feature=] identified by the string "<code><dfn data-lt="gyroscope-feature" export>gyroscope</dfn></code>". Its [=default allowlist=] is "`self`".
This specification utilizes the [=policy-controlled feature=] identified by the string "<code><a data-lt="gyroscope-feature">gyroscope</a></code>" defined in [[DEVICE-ORIENTATION]].

Model {#model}
=====
Expand All @@ -132,9 +136,9 @@ The <dfn id="gyroscope-sensor-type">Gyroscope</dfn> <a>sensor type</a> has the f
: [=Extension sensor interface=]
:: {{Gyroscope}}
: [=Sensor permission names=]
:: "<code><dfn permission export>gyroscope</dfn></code>"
:: "<code><a permission>gyroscope</a></code>" (defined in [[DEVICE-ORIENTATION]])
: [=Sensor feature names=]
:: "[=gyroscope-feature|gyroscope=]"
:: "[=gyroscope-feature|gyroscope=]" (defined in [[DEVICE-ORIENTATION]])
: [=powerful feature/Permission revocation algorithm=]
:: Invoke the [=generic sensor permission revocation algorithm=] with "<code><a permission>gyroscope</a></code>".
: [=Default sensor=]
Expand Down
Loading