02:42
<shu>
Hey, I just noticed that the spec text for resizable ArrayBuffers defines a host hook that defaults to not resizing the buffer, and the HTML spec was not updated to include an implementation
you're talking about https://tc39.es/ecma262/#sec-hostresizearraybuffer? that's a hook for the host to override the default behavior that's defined in ecma262
02:43
<shu>
the main practical reason it exists is for wasm to throw when you try to resize wasm memories using values that are not multiples of the wasm page size
02:43
<shu>
unless a host has special resize behavior like that, the default implementation is the right one
02:44
<Andreu Botella>
oh, that's right, I definitely should've checked its caller more closely 🤦