Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/reopen-encoding-expected.txt

Issue 20625004: XMLHttpRequest should clear the response encoding when it clears responseText. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 This test verifies that XMLHttpRequest properly handles Content-Type when it is reused.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS req.getResponseHeader('Content-Type') is "text/plain; charset=utf-8"
7 PASS req.responseText is "Проверка"
8 PASS req.getResponseHeader('Content-Type') is "text/plain; charset=windows-1251"
9 PASS req.responseText is "Проверка"
10 PASS successfullyParsed is true
11
12 TEST COMPLETE
13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698