RESOLVED FIXED310802
[JSC] Fix test262 failure: test/staging/sm/TypedArray/iterator-next-with-detached.js
https://bugs.webkit.org/show_bug.cgi?id=310802
Summary [JSC] Fix test262 failure: test/staging/sm/TypedArray/iterator-next-with-deta...
Tetsuharu Ohzeki [UTC+9]
Reported 2026-03-26 02:49:21 PDT
testcase: https://github.com/tc39/test262/blob/5c8206929d81b2d3d727ca6aac56c18358c8d790/test/staging/sm/TypedArray/iterator-next-with-detached.js If source is detached TypedArray and the iterator has been completed, `%ArrayIteratorPrototype%.next()` should return `{ done: true }` rather than throwing `TypeError` with describes the source TypedArray is detached. This complies _step 5_ of _23.1.5.2.1 %ArrayIteratorPrototype%.next()_ in the spec. https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
Attachments
Tetsuharu Ohzeki [UTC+9]
Comment 1 2026-03-26 02:51:15 PDT
EWS
Comment 2 2026-03-31 00:40:23 PDT
Committed 310292@main (6117e70109ac): <https://commits.webkit.org/310292@main> Reviewed commits have been landed. Closing PR #61406 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-03-31 00:41:22 PDT
Note You need to log in before you can comment on or make changes to this bug.