Skip to content

Commit f7886c1

Browse files
authored
Merge pull request #389 from w3c/expose-dedicatedworker
Expose to dedicated workers
2 parents dd45f8f + c9cafb2 commit f7886c1

File tree

2 files changed

+97
-97
lines changed

2 files changed

+97
-97
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ of the corresponding [=platform sensor=].
933933
<h3 id="the-sensor-interface">The Sensor Interface</h3>
934934

935935
<pre class="idl">
936-
[SecureContext, Exposed=Window]
936+
[SecureContext, Exposed=(DedicatedWorker, Window)]
937937
interface Sensor : EventTarget {
938938
readonly attribute boolean activated;
939939
readonly attribute boolean hasReading;
@@ -1261,7 +1261,7 @@ that must be supported as attributes by the objects implementing the {{Sensor}}
12611261

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

0 commit comments

Comments
 (0)