Skip to content

Commit fb21d67

Browse files
authored
Merge pull request #683 from annevk/annevk/allowshared
Editorial: account for SharedArrayBuffer change in Web IDL
2 parents 203730e + 18d4456 commit fb21d67

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

index.src.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1928,7 +1928,7 @@
19281928
<xmp class='idl'>
19291929
dictionary VideoDecoderConfig {
19301930
required DOMString codec;
1931-
[AllowShared] BufferSource description;
1931+
AllowSharedBufferSource description;
19321932
[EnforceRange] unsigned long codedWidth;
19331933
[EnforceRange] unsigned long codedHeight;
19341934
[EnforceRange] unsigned long displayAspectWidth;
@@ -2461,7 +2461,7 @@
24612461
readonly attribute unsigned long long? duration; // microseconds
24622462
readonly attribute unsigned long byteLength;
24632463

2464-
undefined copyTo([AllowShared] BufferSource destination);
2464+
undefined copyTo(AllowSharedBufferSource destination);
24652465
};
24662466

24672467
dictionary EncodedAudioChunkInit {
@@ -2551,14 +2551,14 @@
25512551
readonly attribute unsigned long long? duration; // microseconds
25522552
readonly attribute unsigned long byteLength;
25532553

2554-
undefined copyTo([AllowShared] BufferSource destination);
2554+
undefined copyTo(AllowSharedBufferSource destination);
25552555
};
25562556

25572557
dictionary EncodedVideoChunkInit {
25582558
required EncodedVideoChunkType type;
25592559
[EnforceRange] required long long timestamp; // microseconds
25602560
[EnforceRange] unsigned long long duration; // microseconds
2561-
required [AllowShared] BufferSource data;
2561+
required AllowSharedBufferSource data;
25622562
};
25632563

25642564
enum EncodedVideoChunkType {
@@ -2715,7 +2715,7 @@
27152715
readonly attribute long long timestamp; // microseconds
27162716

27172717
unsigned long allocationSize(AudioDataCopyToOptions options);
2718-
undefined copyTo([AllowShared] BufferSource destination, AudioDataCopyToOptions options);
2718+
undefined copyTo(AllowSharedBufferSource destination, AudioDataCopyToOptions options);
27192719
AudioData clone();
27202720
undefined close();
27212721
};
@@ -3218,7 +3218,7 @@
32183218
[Exposed=(Window,DedicatedWorker), Serializable, Transferable]
32193219
interface VideoFrame {
32203220
constructor(CanvasImageSource image, optional VideoFrameInit init = {});
3221-
constructor([AllowShared] BufferSource data, VideoFrameBufferInit init);
3221+
constructor(AllowSharedBufferSource data, VideoFrameBufferInit init);
32223222

32233223
readonly attribute VideoPixelFormat? format;
32243224
readonly attribute unsigned long codedWidth;
@@ -3236,7 +3236,7 @@
32363236
unsigned long allocationSize(
32373237
optional VideoFrameCopyToOptions options = {});
32383238
Promise<sequence<PlaneLayout>> copyTo(
3239-
[AllowShared] BufferSource destination,
3239+
AllowSharedBufferSource destination,
32403240
optional VideoFrameCopyToOptions options = {});
32413241
VideoFrame clone();
32423242
undefined close();

0 commit comments

Comments
 (0)