DescriptionEmit better error message about writable properties
Section 8.10.5 9a specifies that a property descriptor cannot both have
accessors and specify the writability of the property. The previous
error message was misleading because it referred to writable rather
than specifying the writability (which includes writable: false).
BUG=v8:2536
LOG=N
Committed: https://crrev.com/8ed0454332beae12e7ff1704530500f342048c71
Cr-Commit-Position: refs/heads/master@{#31273}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Simplify error message and fix tests #Patch Set 3 : Rebase onto newer source #
Messages
Total messages: 20 (9 generated)
|