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

[BUGFIX release] bring back isObject guard for ember-utils/is_proxy #16750

Merged
merged 1 commit into from Jun 15, 2018

Conversation

ampatspell
Copy link
Sponsor Contributor

WeakSet.has throws TypeError if argument is not an object:
https://www.ecma-international.org/ecma-262/6.0/#sec-weakset.prototype.has

While recent Chrome versions just returns false.

`WeakSet.has` throws `TypeError` if argument is not an object:
https://www.ecma-international.org/ecma-262/6.0/#sec-weakset.prototype.has

While recent Chrome versions just returns `false`.
Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@rwjblue rwjblue changed the title [BUGFIX] bring back isObject guard for ember-utils/is_proxy [BUGFIX release] bring back isObject guard for ember-utils/is_proxy Jun 15, 2018
@rwjblue
Copy link
Member

rwjblue commented Jun 15, 2018

Updated PR title to target release, as it would be good to get this fixed in 3.2.

@rwjblue rwjblue merged commit 396424c into emberjs:master Jun 15, 2018
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

2 participants