Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Conversation

@kfarnung
Copy link
Contributor

@kfarnung kfarnung commented Nov 28, 2017

During some adhoc testing I found that HasOwnProperty behavior
regressed for objects created with value properties. I reworked the
callback to early exit when a property descriptor callback returns a
valid descriptor and restored the rest of the function logic back.

Refs: 5fed2d6

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

chakrashim

@kfarnung kfarnung self-assigned this Nov 28, 2017
@kfarnung kfarnung requested a review from MSLaguana November 28, 2017 23:40
@kfarnung
Copy link
Contributor Author

kfarnung commented Nov 29, 2017

During some adhoc testing I found that HasOwnProperty behavior
regressed for objects created with value properties.  I reworked the
callback to early exit when a property descriptor callback returns a
valid descriptor and restored the rest of the function logic back.

Refs: 5fed2d6

PR-URL: nodejs#435
Reviewed-By: Jimmy Thomson <jithomso@microsoft.com>
@kfarnung kfarnung merged commit cf8b577 into nodejs:master Nov 29, 2017
@kfarnung kfarnung deleted the objtemplate branch November 29, 2017 19:39
kfarnung added a commit to kfarnung/node-chakracore that referenced this pull request Jan 10, 2018
During some adhoc testing I found that HasOwnProperty behavior
regressed for objects created with value properties.  I reworked the
callback to early exit when a property descriptor callback returns a
valid descriptor and restored the rest of the function logic back.

Refs: 5fed2d6

PR-URL: nodejs#435
Reviewed-By: Jimmy Thomson <jithomso@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants