Skip to content

Commit 195c980

Browse files
committed
Define Ambient Light Sensor as a powerful feature
1 parent ef09a65 commit 195c980

File tree

2 files changed

+2698
-3
lines changed

2 files changed

+2698
-3
lines changed

index.bs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ urlPrefix: https://w3c.github.io/sensors/; spec: GENERIC-SENSOR
4040
text: default sensor
4141
text: implementation specific; url: implementation-specific
4242
text: reporting mode; url: reporting-modes
43-
text: auto
43+
text: auto
4444
text: construct a sensor object; url: construct-sensor-object
4545
text: initialize a sensor object; url: initialize-a-sensor-object
4646
text: limit maximum sampling frequency; url: limit-max-frequency
@@ -222,8 +222,11 @@ subclass is the {{AmbientLightSensor}} class.
222222
The <a>Ambient Light Sensor</a> has a <a>default sensor</a>,
223223
which is the device's main light detector.
224224

225-
The <a>Ambient Light Sensor</a> has an associated [=sensor permission name=]
226-
which is <a for="PermissionName" enum-value>"ambient-light-sensor"</a>.
225+
The <a>Ambient Light Sensor</a> is a [=powerful feature=] that is identified by the
226+
[=powerful feature/name=] "ambient-light-sensor", which is also its associated
227+
[=sensor permission name=]. Its [=powerful feature/permission revocation algorithm=] is the
228+
result of calling the [=generic sensor permission revocation algorithm=] with
229+
"ambient-light-sensor".
227230

228231
The <a>Ambient Light Sensor</a> is a [=policy-controlled feature=] identified by the string "ambient-light-sensor". Its [=default allowlist=] is `'self'`.
229232

0 commit comments

Comments
 (0)