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

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

Issue 585873002: Show a warning when using sync xhr. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated patch with reset -expected.txt files. Created 6 years, 2 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
1 CONSOLE WARNING: Avoid synchronous requests as it hampers user experience due to unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warni ng.
1 This test verifies that XMLHttpRequest properly handles Content-Type when it is reused. 2 This test verifies that XMLHttpRequest properly handles Content-Type when it is reused.
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
6 PASS req.getResponseHeader('Content-Type') is "text/plain; charset=utf-8" 7 PASS req.getResponseHeader('Content-Type') is "text/plain; charset=utf-8"
7 PASS req.responseText is "Проверка" 8 PASS req.responseText is "Проверка"
8 PASS req.getResponseHeader('Content-Type') is "text/plain; charset=windows-1251" 9 PASS req.getResponseHeader('Content-Type') is "text/plain; charset=windows-1251"
9 PASS req.responseText is "Проверка" 10 PASS req.responseText is "Проверка"
10 PASS successfullyParsed is true 11 PASS successfullyParsed is true
11 12
12 TEST COMPLETE 13 TEST COMPLETE
13 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698