Description[es6] don't "replace" Object.prototype.toString for --harmony-tostring
When ObjectToString is installed on Object.prototype twice (once in v8natives.js, and once in harmony-tostring.js), this pollutes old code spaces on some devices. To prevent this, the function is only installed once, preventing test failures when the --harmony-tostring flag is flipped on by default.
BUG=v8:3502
LOG=N
R=arv@chromium.org
Committed: https://crrev.com/48eff34c323aa430cb3605079f9322e0310149d0
Cr-Commit-Position: refs/heads/master@{#27720}
Patch Set 1 #Patch Set 2 : Fix snapshot failure #Patch Set 3 : Don't try to delete an undefined value (but this isn't related to the failures?) #Patch Set 4 : A much more painful fix #Patch Set 5 : Without phantom edits #Patch Set 6 : Final fixup... #
Messages
Total messages: 23 (6 generated)
|