You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text: construct a sensor object; url: construct-sensor-object
45
45
text: initialize a sensor object; url: initialize-a-sensor-object
46
46
text: limit maximum sampling frequency; url: limit-max-frequency
@@ -222,8 +222,11 @@ subclass is the {{AmbientLightSensor}} class.
222
222
The <a>Ambient Light Sensor</a> has a <a>default sensor</a>,
223
223
which is the device's main light detector.
224
224
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".
227
230
228
231
The <a>Ambient Light Sensor</a> is a [=policy-controlled feature=] identified by the string "ambient-light-sensor". Its [=default allowlist=] is `'self'`.
0 commit comments