Description[regexp] Fix writing of lastIndex in JSRegExp::Initialize.
The lastIndex property must be written with the semantics of a strict [[Set]],
so an exception must be thrown when the attributes don't allow writing. We used
to ignore the attributes.
R=littledan@chromium.org, yangguo@chromium.org
BUG=v8:5138
Committed: https://crrev.com/40641fbc031857d574550cc608c5f51893d9593d
Cr-Commit-Position: refs/heads/master@{#37369}
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|