Re: [whatwg/webidl] "byte length of a buffer source type" needs updating for resizable and detached buffers (Issue #1385)

It seems per https://software.hixie.ch/utilities/js/live-dom-viewer/?%3Cscript%3E%0As%20%3D%20new%20Uint8Array(new%20ArrayBuffer(8))%3B%0Aw(s.buffer.byteLength)%0Aw(s.byteLength)%3B%0ApostMessage(s%2C%20%22*%22%2C%20[s.buffer])%3B%0Aw(s.buffer.byteLength)%0Aw(s.byteLength)%3B%0Aw(new%20TextEncoder().encodeInto(%22fd%22%2C%20s))%3B%0A%3C%2Fscript%3E implementations already do the right thing here, but this is indeed a bug.

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

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

Received on Tuesday, 23 January 2024 16:19:50 UTC