Re: [w3c/IndexedDB] Adjust spec to take into account ResizableArrayBuffers / GrowableSharedArrayBuffers (Issue #446)

inexorabletash left a comment (w3c/IndexedDB#446)

It's an unfortunate limitation that keys can't be defined using Web IDL. If it could, then by _not_ specifying `[AllowResizable]` (and maybe `[AllowShared]`) this would not be an issue.

So another approach would be to include a call to `IsResizableArrayBuffer()`, either here or in Web IDL (as we did for [detached](https://webidl.spec.whatwg.org/#buffersource-detached))

Or should we push a test into [get a copy of the bytes held by the buffer source](https://webidl.spec.whatwg.org/#dfn-get-buffer-source-copy) itself?

@domenic - any thoughts?

Aside: Somehow the spec ended up with `[[=BufferSource/detached=]]` - an extra set of `[]`. We should fix that too.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/446#issuecomment-2797847840
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/issues/446/2797847840@github.com>

Received on Friday, 11 April 2025 19:26:03 UTC