You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
built-ins/TypedArray/prototype/byteOffset/resizable-array-buffer-auto.js and built-ins/TypedArray/prototype/byteOffset/BigInt/resizable-array-buffer-auto.js are wrong
#3206
Closed
marjakh opened this issue
Sep 21, 2021
· 2 comments
· Fixed by #3211
marjakh
changed the title
built-ins/TypedArray/prototype/byteOffset/BigInt/resizable-array-buffer-auto.js is wrong
built-ins/TypedArray/prototype/byteOffset/resizable-array-buffer-auto.js and built-ins/TypedArray/prototype/byteOffset/BigInt/resizable-array-buffer-auto.js are wrong
Sep 21, 2021
Thanks for reporting this! gh-3211 ought to fix things.
Scrutinizing gh-3163 further, it looks like I neglected a couple other BigInt tests (the ones for the byteLength and length accessor properties). The tests still happen to be technically correct, but their assertions incorrectly label the "on boundary" condition as "out of bounds," and they lack any verification of a true "out of bounds" condition. I've opened gh-3212 to correct that.
built-ins/TypedArray/prototype/byteOffset/BigInt/resizable-array-buffer-auto.js:
Line 39:
This should be the "at the boundary" case where the TA is not out of bounds.
built-ins/TypedArray/prototype/byteOffset/resizable-array-buffer-auto.js:
Line 37:
Ditto.
The text was updated successfully, but these errors were encountered: