Skip to content

Commit

Permalink
Mark ImageDecoderInit.data as AllowSharedBufferSource.
Browse files Browse the repository at this point in the history
This is what Chromium implements, but we forgot to update the
spec when other data fields were changed to allow shared
buffers.

Fixes #799
  • Loading branch information
dalecurtis authored Jun 10, 2024
1 parent 9eaaad4 commit 90ab77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -5747,7 +5747,7 @@
--------------------------------------------------------
<pre class='idl'>
<xmp>
typedef (BufferSource or ReadableStream) ImageBufferSource;
typedef (AllowSharedBufferSource or ReadableStream) ImageBufferSource;
dictionary ImageDecoderInit {
required DOMString type;
required ImageBufferSource data;
Expand Down

0 comments on commit 90ab77c

Please sign in to comment.