Re: [whatwg/webidl] Fix `BufferSource` algorithms for shared and resizable buffers (PR #1529)

@MattiasBuelens pushed 19 commits.

5511191caf6e50ca5b4b453f70322b92b2fdf529  Fix buffer source's byte length
77d7cad30f05e1f49bd67c9dcffcc47a467d87bc  Add byte offset to ArrayBufferView
6ff3146613ad53daa81b48471a61a19e50555416  Fix writing bytes into an ArrayBufferView backed by a SharedArrayBuffer
ab8a53a16d44d7226345f088c1b4097949aa510e  Simplify writing into an ArrayBufferView
358a25b9553f753c0c9a1e1b397f47bc37ca2117  Move assert before conversion
bf273a5e08ce8da2b3b4baf657a4276fc261d665  Fix detached check
23de3439b1f1953563a97f617aeaf351ca123491  Use ArrayBufferCopyAndDetach to transfer an ArrayBuffer
8b7b647361edfb1a7c6295511f14cb36a3724813  Rework "get a copy of the bytes held"
9f5e36d2bc3ac5c497f795b5a3c0a5d3600931cb  Use IsArrayBufferViewOutOfBounds instead
565a02fb4ff6b144c8b91061bb7e399f93c398de  Use SEQ-CST ordering to match ECMAScript
4794b1f6d1bf655b41d0d2e24188756e19b08d92  Use "then" only for checks with a single step
bff8ccaaedca88e923b551a6613b0daffccf3d79  Auto-link "assert"
5a63453046c30364870965bce280f55166202669  Check IsTypedArrayOutOfBounds
f6ffbe680d437c2d2f3d941d5465399bc837a35b  Use ArrayBufferByteLength for both ArrayBuffer and SharedArrayBuffer
ad297def8fce80a908cd703069549eb989824819  Add a "then"
0a6dd999307d9db419f39107f4024836c677c56b  Make byte length throw if DataView is out of bounds
c4abf28b6d788d6bb645ce5239553da67f0629e1  Check if detached before reading byte offset
9607f3611f4359bc9432fd5e72cd6ff9f85924f9  Return immediately if length is 0
a528e68874e24cd98a948f24ce371aa8c44f80f6  Reorder steps

-- 
View it on GitHub:
https://github.com/whatwg/webidl/pull/1529/files/6a04a165414a63f20d661bc17fa3f61afdd53f17..a528e68874e24cd98a948f24ce371aa8c44f80f6
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/pull/1529/before/6a04a165414a63f20d661bc17fa3f61afdd53f17/after/a>

Received on Friday, 9 January 2026 13:34:50 UTC