1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
2 This test verifies that XMLHttpRequest properly handles Content-Type when it is reused.
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS req.getResponseHeader('Content-Type') is "text/plain; charset=utf-8"
8 PASS req.responseText is "Проверка"
9 PASS req.getResponseHeader('Content-Type') is "text/plain; charset=windows-1251"
10 PASS req.responseText is "Проверка"
11 PASS successfullyParsed is true