Uh oh!
There was an error while loading. Please reload this page.
lib: add Iterator global to primordials, improve iteration object coverage in frozen intrinsics - #63698
lib: add Iterator global to primordials, improve iteration object coverage in frozen intrinsics#63698Renegade334 wants to merge 4 commits into
Conversation
51aa657 to
00e4207Comparebakkot
commented
Jun 1, 2026
It's a spec fiction used for defining behavior of other algorithms (for-await over a sync iterator, specifically), not a real thing (although engines might choose to have an internal representation of it for ease of implementation). |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## main #63698 +/- ##
==========================================
- Coverage 91.96% 90.35% -1.61%
==========================================
Files 379 732 +353 Lines 166638 236691 +70053 Branches 25497 44583 +19086 ==========================================
+ Hits 153242 213867 +60625 - Misses 13099 14563 +1464 - Partials 297 8261 +7964
🚀 New features to boost your workflow:
|
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
nodejs-github-bot
commented
Jun 3, 2026
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk>
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk>
00e4207 to
17d237bCompareUh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
nodejs-github-bot
commented
Jun 11, 2026
nodejs-github-bot
commented
Jun 13, 2026
Landed in 96cff60...f2e3c10 |
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> PR-URL: #63698 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> PR-URL: #63698 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> PR-URL: #63698 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> PR-URL: #63698 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> PR-URL: #63698 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> PR-URL: #63698 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> PR-URL: #63698 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> PR-URL: #63698 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
lib: add Iterator global to primordials
iterator_helpers is unflagged in V8 from v24.x.
lib: improve control abstraction coverage in frozen intrinsics
Adds the new internal iteration prototypes (
%IteratorHelperPrototype%,%WrapForValidIteratorPrototype%) to frozen intrinsics, and improves/deduplicates coverage of iterator/generator objects.Note that
%AsyncFromSyncIteratorPrototype%is missing from the iterator spec – this is unresolvable AFAICT.