DescriptionThrow exceptions from CreateDataProperty when should_throw
Previously, when a property was non-configurable or the object was
non-extensible, CreateDataProperty might just return false rather than
throwing, even if should_throw was on. This patch fixes that issue.
Tested by running the patch at https://codereview.chromium.org/1814933002
on top of this code and observing the tests to see an exception thrown.
R=adamk
BUG=chromium:595319
LOG=Y
Committed: https://crrev.com/67bee8149a6d3d02f1e349919cbe86d87b452128
Cr-Commit-Position: refs/heads/master@{#34875}
Patch Set 1 #
Total comments: 2
Patch Set 2 : brackets #
Messages
Total messages: 11 (4 generated)
|