DescriptionFix RegExp.prototype.compile error case
If the RegExp doesn't parse, then ES2015 specifies that
RegExp.prototype.compile does not mutate it. This patch changes
our RegExp implementation to follow that logic.
R=yangguo
Committed: https://crrev.com/972e852248caa129d38fea9aa2029e7fb4f57aa3
Cr-Commit-Position: refs/heads/master@{#36268}
Patch Set 1 #
Messages
Total messages: 13 (5 generated)
|