[whatwg/webidl] Buffer source types infrastructure (Issue #1312)

The algorithms provided in https://webidl.spec.whatwg.org/#es-buffer-source-types are a little shaky as the [AllowResizable] and [AllowShared] extended attributes end up changing the IDL type. Thus in principle these algorithms cannot be used if you have an IDL object for a view that points to a shared buffer, for instance.

Properly changing the types to be maximally inclusive would have some downstream repercussions and we'd also want to be careful that whatever maximally-inclusive IDL typedef we create here can be used for any future expansions of these buffers as well, should they happen. (Unless we're happy to do this again, but meh.)

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

Message ID: <whatwg/webidl/issues/1312@github.com>

Received on Friday, 2 June 2023 07:50:03 UTC