DescriptionFix match default behavior on strings for ES2015 semantics
String.prototype.match is specified to call out to the current
value of RegExp.prototype[Symbol.match] when passed a string argument,
rather than the original value. This patch updates the RegExp code
to do that.
R=yangguo@chromium.org
BUG=v8:4602
LOG=Y
Committed: https://crrev.com/64b2b1ac3397bd8ec06c57547c50d895f47d93d7
Cr-Commit-Position: refs/heads/master@{#35001}
Patch Set 1 #
Messages
Total messages: 11 (4 generated)
|