From 90ab77ca19b889c65a261de0d629c7705b0f1c73 Mon Sep 17 00:00:00 2001 From: Dale Curtis Date: Mon, 10 Jun 2024 10:00:33 -0700 Subject: [PATCH] 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 --- index.src.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.src.html b/index.src.html index 548f3a19..669b1f89 100644 --- a/index.src.html +++ b/index.src.html @@ -5747,7 +5747,7 @@ --------------------------------------------------------
 
-typedef (BufferSource or ReadableStream) ImageBufferSource;
+typedef (AllowSharedBufferSource or ReadableStream) ImageBufferSource;
 dictionary ImageDecoderInit {
   required DOMString type;
   required ImageBufferSource data;