Skip to content

Commit 90ab77c

Browse files
authored
Mark ImageDecoderInit.data as AllowSharedBufferSource.
This is what Chromium implements, but we forgot to update the spec when other data fields were changed to allow shared buffers. Fixes #799
1 parent 9eaaad4 commit 90ab77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5747,7 +5747,7 @@
57475747
--------------------------------------------------------
57485748
<pre class='idl'>
57495749
<xmp>
5750-
typedef (BufferSource or ReadableStream) ImageBufferSource;
5750+
typedef (AllowSharedBufferSource or ReadableStream) ImageBufferSource;
57515751
dictionary ImageDecoderInit {
57525752
required DOMString type;
57535753
required ImageBufferSource data;

0 commit comments

Comments
 (0)