Skip to content

Commit 498b97d

Browse files
committed
[ambient-light] Align with Web IDL specification
1 parent 0f49761 commit 498b97d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,9 @@ The AmbientLightSensor Interface {#ambient-light-sensor-interface}
231231
--------------------------------
232232

233233
234-
[Constructor(optional SensorOptions sensorOptions = {}), SecureContext, Exposed=Window]
234+
[SecureContext, Exposed=Window]
235235
interface AmbientLightSensor : Sensor {
236+
constructor(optional SensorOptions sensorOptions = {});
236237
readonly attribute double? illuminance;
237238
};
238239

0 commit comments

Comments
 (0)