Skip to content

Commit 5868e7b

Browse files
committed
[generic-sensor] Align with Web IDL specification
1 parent 3b8ea70 commit 5868e7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,9 +1260,9 @@ that must be supported as attributes by the objects implementing the {{Sensor}}
12601260
<h3 id="the-sensor-error-event-interface">The SensorErrorEvent Interface</h3>
12611261

12621262
<pre class="idl">
1263-
[Constructor(DOMString type, SensorErrorEventInit errorEventInitDict),
1264-
SecureContext, Exposed=(DedicatedWorker, Window)]
1263+
[SecureContext, Exposed=(DedicatedWorker, Window)]
12651264
interface SensorErrorEvent : Event {
1265+
constructor(DOMString type, SensorErrorEventInit errorEventInitDict);
12661266
readonly attribute DOMException error;
12671267
};
12681268

0 commit comments

Comments
 (0)