commit | 6496e7bb9a0b46bc79032b86d5993b25f127a4cb | [log] [tgz] |
---|---|---|
author | yhirano@chromium.org <yhirano@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Fri Jul 26 20:58:57 2013 |
committer | yhirano@chromium.org <yhirano@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Fri Jul 26 20:58:57 2013 |
tree | 559fcc29d69afacd5a014698d077bfb135fcc4c8 | |
parent | c336eff161f8fbc7b5338f21e373e9a73a37ed2a [diff] |
XMLHttpRequest should clear the response encoding if it clears responseText. XMLHttpRequest did not clear the response encoding when it have should, for example, when abort() is called. This caused character corruption in responseText if we re-opened the XHR object. BUG=261140 R=abarth Review URL: https://chromiumcodereview.appspot.com/20625004 git-svn-id: svn://svn.chromium.org/blink/trunk@155008 bbb929c8-8fbe-4397-9dbb-9b2b20218538