blob: 0fbe1e884322604095bbc80bdcecad679a4bce8c [file] [log] [blame]
This tests that XMLHttpRequest overrideMimeType() properly updates the Content-Type header for the response.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS xhr.getResponseHeader("Content-Type") is "text/xml;charset=GBK"
PASS successfullyParsed is true
TEST COMPLETE