Comment #4 on issue 4222 by [email protected]: String.prototype html
legacy methods need to use ToString to convert this-value
https://code.google.com/p/v8/issues/detail?id=4222#c4
The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/6b268bce6a835b0517468b4b4253b7ce2affdad8
commit 6b268bce6a835b0517468b4b4253b7ce2affdad8
Author: arv <[email protected]>
Date: Mon Jun 22 19:07:07 2015
Fix string HTML methods to call ToString
Before this we were using + which calls valueOf which is not correct
for these methods.
BUG=v8:4222
LOG=N
R=adamk, littledan
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1194173004
Cr-Commit-Position: refs/heads/master@{#29202}
[modify]
http://crrev.com/6b268bce6a835b0517468b4b4253b7ce2affdad8/src/string.js
[modify]
http://crrev.com/6b268bce6a835b0517468b4b4253b7ce2affdad8/test/mjsunit/es6/string-html.js
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.