DescriptionGuard the property RegExp.prototype.unicode behind --harmony-regexp-unicode
When the 'y' flag was shipped, the property RegExp.prototype.unicode was
accidentally also shipped. However, the existence of this property should
be a usable feature testing point. This patch adds the 'unicode' getter on
RegExp.prototype only if the --harmony-regexp-unicode flag is turned on.
R=cbruni
CC=yangguo
BUG=v8:4644
LOG=Y
Committed: https://crrev.com/9c304f1e78194d1530544721f8eed93011ff9ab9
Cr-Commit-Position: refs/heads/master@{#33049}
Patch Set 1 #Patch Set 2 : fix newline #Patch Set 3 : Test262 expectations #
Messages
Total messages: 19 (8 generated)
|