w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.
https://w3c.github.io/webcodecs/
Other
937 stars 131 forks source link

Mark ImageDecoderInit.data as AllowSharedBufferSource. #802

Open dalecurtis opened 3 weeks ago

dalecurtis commented 3 weeks ago

This is what Chromium implements, but we forgot to update the spec when other data fields were changed to allow shared buffers.

Fixes #799


Preview | Diff

dalecurtis commented 3 weeks ago

ISTR the reason we expand the typedef in Chrome is just due to an IDL compiler limitation, so I left this as the unexpanded version. Let me know if you'd prefer we use the expanded version.