DescriptionSet Error.stack property writable
Previously, the stack property was set up in JS as read-only; but since
it had a JS setter, writability was ignored and writing to stack was
possible.
This is no longer the case now that stack is either an actual data
property, or is associated with C++ accessors. Explicitly set the
property as writable to preserve old behavior.
BUG=v8:5245
R=yangguo@chromium.org
Committed: https://crrev.com/1c7c0521f1f9b4e70e19b0999c613fdb3b262deb
Cr-Commit-Position: refs/heads/master@{#38158}
Patch Set 1 #Patch Set 2 : More test cases #
Messages
Total messages: 16 (10 generated)
|