diff options
author | Nick Vatamaniuc <vatamane@gmail.com> | 2025-06-07 00:42:50 -0400 |
---|---|---|
committer | Nick Vatamaniuc <vatamane@gmail.com> | 2025-06-07 01:37:54 -0400 |
commit | 00b1d8d0b2d06e540444245b54a8fd86ccf7260b (patch) | |
tree | 7ce19204b363ed8a2709c1a9b1274057eb82841a /tests/git@kaiwu.me:public/quickjs | |
parent | 638ec8ca5e1d4aed002a9fb3ef3358e2a6bc42ab (diff) | |
download | quickjs-00b1d8d0b2d06e540444245b54a8fd86ccf7260b.tar.gz quickjs-00b1d8d0b2d06e540444245b54a8fd86ccf7260b.zip |
Read byteOffset for detached buffers
The spec [1] expects to read `byteOffset` even for detached buffers.
Noticed a new test262 test [2] failed and there an an existing one we skipped
as well for the same reason.
[1] https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray
[2] https://github.com/tc39/test262/blob/main/test/built-ins/TypedArray/prototype/subarray/byteoffset-with-detached-buffer.js
Fix: https://github.com/bellard/quickjs/issues/417
Diffstat (limited to 'tests/git@kaiwu.me:public/quickjs')
0 files changed, 0 insertions, 0 deletions