Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test262] Add a new staging test for isSubsetOf #3968

Closed
wants to merge 1 commit into from

Conversation

test262-pr-bot
Copy link

This CL adds a new test to staging directory of test262.

Bug: v8:13556
Change-Id: I96966917b9e99ce3c2248845c1cca383d3390aaa
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5069373
Reviewed-by: Liviu Rau <[email protected]>
Commit-Queue: Liviu Rau <[email protected]>
Cr-Commit-Position: refs/heads/main@{#91298}

This CL adds a new test to staging directory of test262.

Bug: v8:13556
Change-Id: I96966917b9e99ce3c2248845c1cca383d3390aaa
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5069373
Reviewed-by: Liviu Rau <[email protected]>
Commit-Queue: Liviu Rau <[email protected]>
Cr-Commit-Position: refs/heads/main@{#91298}
@test262-pr-bot test262-pr-bot requested a review from a team as a code owner December 1, 2023 22:40
@test262-pr-bot test262-pr-bot requested a review from a team as a code owner December 1, 2023 22:40
features: [set-methods]
---*/

let firstSet = new Set('a', 'b');
Copy link
Member

Choose a reason for hiding this comment

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

this test isn't correct; new Set takes one iterable, not two items.

Copy link
Member

Choose a reason for hiding this comment

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

cc @liviurau i think? also cc @syg

Copy link
Contributor

Choose a reason for hiding this comment

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

You are right. new Set should take an iterable.

Copy link
Contributor

Choose a reason for hiding this comment

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

Did the test run in V8 CI? Pass?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes. It seems that it gets the first item 'a' and puts it in the set and ignores the rest.

@rmahdav rmahdav closed this Dec 5, 2023
@ljharb ljharb deleted the chromium-export-7249c58d51 branch December 5, 2023 17:14
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.

4 participants