Skip to content

Commit 7360ba2

Browse files
authored
Moving back exposure to DedicatedWorker (#80)
1 parent 0f203e1 commit 7360ba2

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

index.bs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,7 @@ dictionary SFrameTransformOptions {
191191
SFrameTransformRole role = "encrypt";
192192
};
193193

194-
// FIXME: We plan to expose only in dedicated worker scopes, but may want to discuss extending it in other contexts.
195-
[Exposed=(Window,Worker)]
194+
[Exposed=(Window,DedicatedWorker)]
196195
interface SFrameTransform {
197196
constructor(optional SFrameTransformOptions options = {});
198197
Promise<undefined> setEncryptionKey(CryptoKey key, optional unsigned long long keyID);
@@ -282,8 +281,7 @@ interface RTCEncodedAudioFrame {
282281

283282
// New interfaces to expose JavaScript-based transforms.
284283

285-
// FIXME: We want to expose only in dedicated worker scopes.
286-
[Exposed=Worker]
284+
[Exposed=DedicatedWorker]
287285
interface RTCTransformEvent : Event {
288286
readonly attribute RTCRtpScriptTransformer transformer;
289287
};
@@ -292,8 +290,7 @@ partial interface DedicatedWorkerGlobalScope {
292290
attribute EventHandler onrtctransform;
293291
};
294292

295-
// FIXME: We want to expose only in dedicated worker scopes.
296-
[Exposed=Worker]
293+
[Exposed=DedicatedWorker]
297294
interface RTCRtpScriptTransformer {
298295
readonly attribute ReadableStream readable;
299296
readonly attribute WritableStream writable;

0 commit comments

Comments
 (0)