Skip to content

Commit

Permalink
editorial: Use permissions and permissions-policy dfn's from DEVICE-O…
Browse files Browse the repository at this point in the history
…RIENTATION (#75)

Adapt to w3c/deviceorientation#121 and w3c/deviceorientation#123.

Those two PRs have moved the definition of the "accelerometer"
permission name and permissions policy token to the Device Orientation
spec, which is more widely implemented than this specification and can
be referenced from this one.
  • Loading branch information
rakuco authored Jan 4, 2024
1 parent 7fd366f commit 01e6eb7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ urlPrefix: https://www.w3.org/TR/screen-orientation/; spec: SCREEN-ORIENTATION
text: current orientation type; url: dfn-current-orientation-type
text: dom screen; url: dom-screen
</pre>
<pre class=link-defaults>
spec:orientation-event; type:dfn; text:accelerometer-feature
spec:orientation-event; type:permission; text:accelerometer
</pre>

<pre class=biblio>
{
Expand Down Expand Up @@ -169,7 +173,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="accelerometer-feature" export>accelerometer</dfn></code>". Its [=default allowlist=] is "`self`".
This specification utilizes the [=policy-controlled feature=] identified by the string "<code><a data-lt="accelerometer-feature">accelerometer</a></code>" defined in [[DEVICE-ORIENTATION#permissions-policy-integration]].

Model {#model}
=====
Expand All @@ -182,7 +186,7 @@ The <dfn id="accelerometer-sensor-type">Accelerometer</dfn> <a>sensor type</a> h
: [=Extension sensor interface=]
:: {{Accelerometer}}
: [=Sensor permission names=]
:: "<code><dfn permission export>accelerometer</dfn></code>"
:: "<code><a permission>accelerometer</a></code>"
: [=Sensor feature names=]
:: "[=accelerometer-feature|accelerometer=]"
: [=powerful feature/Permission revocation algorithm=]
Expand Down

0 comments on commit 01e6eb7

Please sign in to comment.