Only escape U+0022 in argument values of `String.prototype` HTML methods
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 7 Aug 2014 07:45:33 +0000 (07:45 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 7 Aug 2014 07:45:33 +0000 (07:45 +0000)
commit2ec32f346d9c7d1e3ce32e67b03ed61a53e927ac
treecf54fef3ea3369b0cc4dd972c4785b9dc233708a
parent0a84fab8efb34550e200daa3d024c0376afdb606
Only escape U+0022 in argument values of `String.prototype` HTML methods

Contributed by Mathias Bynens <mathiasb@opera.com>.

TEST=mjsunit/es6/string-html
BUG=v8:2217
LOG=Y
R=arv@chromium.org, yangguo@chromium.org

Review URL: https://codereview.chromium.org/446973004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22955 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/string.js
test/mjsunit/es6/string-html.js