Skip to content

lib: add Iterator global to primordials, improve iteration object coverage in frozen intrinsics - #63698

Closed
Renegade334 wants to merge 4 commits into
nodejs:mainfrom
Renegade334:primordials-iterator-global
Closed

Renegade334 wants to merge 4 commits into
nodejs:mainfrom
Renegade334:primordials-iterator-global

Conversation

@Renegade334

Copy link
Copy Markdown
Member

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.