Skip to content

iterator includes tests - #5031

Merged
bakkot merged 16 commits into
mainfrom
iterator-includes
Jul 29, 2026
Merged

iterator includes tests#5031
bakkot merged 16 commits into
mainfrom
iterator-includes

Conversation

@michaelficarra

@michaelficarra michaelficarra commented Apr 15, 2026

Copy link
Copy Markdown
Member

Adds tests for https://github.com/michaelficarra/proposal-iterator-includes.

Disclaimer: I used AI in the process of creating this PR (using the same process as in #5011, including a full review and minor tweaks).

@bakkot bakkot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some nits but looks reasonably complete

Comment thread test/built-ins/Iterator/prototype/includes/argument-effect-order.js Outdated
Comment thread test/built-ins/Iterator/prototype/includes/closes-on-match.js
Comment thread test/built-ins/Iterator/prototype/includes/exhaustion-does-not-call-return.js Outdated
Comment thread test/built-ins/Iterator/prototype/includes/get-next-method-only-once.js Outdated
Comment thread test/built-ins/Iterator/prototype/includes/next-method-throws.js
Comment thread test/built-ins/Iterator/prototype/includes/object-identity.js
@michaelficarra

Copy link
Copy Markdown
Member Author

@bakkot Feedback addressed.

lando-worker Bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Apr 24, 2026
These are from tc39/test262#5031 which is
currently under review. Once the tests land upstream, these can be
removed. This will be handled as part of shipping the feature when
it reaches Stage 3.

Differential Revision: https://phabricator.services.mozilla.com/D295351
@michaelficarra

Copy link
Copy Markdown
Member Author

Added a new commit for tc39/proposal-iterator-includes#15.

@kmiller68

Copy link
Copy Markdown
Contributor

Would be good to merge this as it's been stage 3 for a few months.

@bakkot
bakkot enabled auto-merge (squash) July 29, 2026 16:22
@bakkot
bakkot merged commit 8691a62 into main Jul 29, 2026
21 checks passed
@bakkot
bakkot deleted the iterator-includes branch July 29, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants