Re: [whatwg/webidl] Add [AllowImmutable] extended attribute for immutable array buffers and views (Issue #1487)

annevk left a comment (whatwg/webidl#1487)

One thing that would be good to think about as I don't think we did this quite right with `[AllowResizable]` is where we would want to see this used. Because now we have resizable buffers in JavaScript, but nowhere to use them in the web platform. From a web developer perspective that is not exactly great.

For instance, we have a fair number of APIs that essentially copy the buffer input so ideally they should all adopt this out of the gate. No real reason for `TextDecoder` to still reject these the moment the JS engine supports them.

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

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

Received on Friday, 16 May 2025 14:03:05 UTC