Add `CheckObjectCoercible` for the `String.prototype` HTML methods
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Aug 2014 14:58:46 +0000 (14:58 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Aug 2014 14:58:46 +0000 (14:58 +0000)
commitc29b0a962d9bc068c27e739892469f5d02b940fc
tree3e1b4c7a4c9b56132b5eb9ccb4c8a31f9811c41d
parentd07203bc909938556a35522cd6a6ab58abe6f846
Add `CheckObjectCoercible` for the `String.prototype` HTML methods

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

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

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

Patch from Mathias Bynens <mathias@qiwi.be>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22938 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/string.js
test/mjsunit/es6/string-html.js [new file with mode: 0644]