Skip to content

Commit 273bedf

Browse files
committed
Give SharedArrayBuffer a dedicated type
Generally IDL objects have been 1:1 with ECMAScript objects, except for SharedArrayBuffer. That was instead represented as [AllowShared] ArrayBuffer, although that includes ArrayBuffer as well. This created a number of challenges, e.g., how to return a SharedArrayBuffer object. So we make these changes here that will also require corresponding downstream fixes: * SharedArrayBuffer is now its own type. * [AllowShared] only applies to buffer view types. * AllowSharedBufferSource takes over from [AllowShared] BufferSource. Fixes #865 and fixes #961.
1 parent 5dcedce commit 273bedf

File tree

1 file changed

+151
-72
lines changed

1 file changed

+151
-72
lines changed

0 commit comments

Comments
 (0)