 Chromium Code Reviews
 Chromium Code Reviews Issue 1199933005:
  Fix HTML string methods to not depend on replace method  (Closed) 
  Base URL: https://chromium.googlesource.com/v8/v8.git@master
    
  
    Issue 1199933005:
  Fix HTML string methods to not depend on replace method  (Closed) 
  Base URL: https://chromium.googlesource.com/v8/v8.git@master| Index: src/string.js | 
| diff --git a/src/string.js b/src/string.js | 
| index cf70d40c85b8f165c14216f025ce40da703f4891..d8b37e28a981c8c85bef62f12f2e2881677f4fde 100644 | 
| --- a/src/string.js | 
| +++ b/src/string.js | 
| @@ -846,7 +846,7 @@ function StringFromCharCode(code) { | 
| // ES6 draft, revision 26 (2014-07-18), section B.2.3.2.1 | 
| function HtmlEscape(str) { | 
| - return TO_STRING_INLINE(str).replace(/"/g, """); | 
| + return %_CallFunction(TO_STRING_INLINE(str), /"/g, """, StringReplace); | 
| } |