[heycam/webidl] It is unclear if [AllowShared] BufferSource is valid (#961)

The spec says 
"A type that is not a buffer source type must not be associated with the [AllowShared] extended attribute."
and
"The buffer source types are ArrayBuffer, DataView, and the typed array types."

BufferSource is a union type
typedef (ArrayBufferView or ArrayBuffer) BufferSource;

Yet https://heycam.github.io/webidl/#AllowShared has an example using [AllowShared] BufferSource.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/961

Received on Wednesday, 3 March 2021 17:50:21 UTC