DescriptionString.prototype.{match,search} should do only one RegExp brand check
Previously, they would check for Symbol.match/Symbol.search, and then
do another check for Symbol.match in the RegExp constructor. This patch
avoids the second one by skipping the RegExp constructor, as the spec does.
Committed: https://crrev.com/0fdf32556c97068a03273606fecdac287325b4fb
Cr-Commit-Position: refs/heads/master@{#35085}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|