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

Object.fromEntries: use verifyProperty; add specification details #1677

Merged
merged 2 commits into from Aug 17, 2018

Conversation

rwaldron
Copy link
Contributor


/*---
esid: sec-object.fromentries
description: Closes iterators when toString on a value throws.
Copy link
Contributor

@bakkot bakkot Aug 13, 2018

Choose a reason for hiding this comment

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

This test isn't valid; only the keys get toString'd (or, to be precise, toPropertyKey'd). The values are passed through without being touched.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops, yes, that would make sense. I will drop this.

Copy link
Contributor

@bakkot bakkot left a comment

Choose a reason for hiding this comment

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

Thanks for the followup; sorry for my typos.

@@ -19,7 +36,7 @@ var iterable = {
advanced = true;
return {
done: false,
value: 'null',
value: null,
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@@ -0,0 +1,64 @@
// Copyright (C) 2018 Kevin Gibbons. All rights reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

Presumably this (and other new tests) should be (C) someone else?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, I didn't really write a majority of the test, it's your work with only a slight modification

@rwaldron
Copy link
Contributor Author

Thanks for the followup; sorry for my typos.

You're very welcome and don't worry about the typos :)

@leobalter leobalter merged commit ab436c4 into master Aug 17, 2018
@rwaldron rwaldron deleted the ofe-use-verifyproperty branch October 5, 2018 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants