DescriptionPrepare Chrome Extensions for ES2015 RegExp semantics
This patch maintains Chrome Extensions infrastructure resilient against
monkey-patching changes to RegExp.prototype by using exec directly.
ES2015 makes methods like RegExp.prototype.test and String.prototype.replace
call the current, rather than original, value of RegExp.prototype.exec.
This patch avoids calling those functions.
BUG=v8:4883
R=rdevlin.cronin@chromium.org,meacer@chromium.org
TEST=ran previously failing browser_tests with a version of V8 which includes
full ES2015 RegExp semantics, and observed it to pass.
Committed: https://crrev.com/a4d29aaa90d74d4461941f2255b93c9813817696
Cr-Commit-Position: refs/heads/master@{#385311}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Move comment #
Messages
Total messages: 10 (3 generated)
|