blob: 96586a56567e257ac309ae034d6e16f8836150dc [file] [log] [blame]
CONSOLE WARNING: line 4: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
Test for bug 33057: typeof(xhr.responseText) != "string" on Windows.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS typeof(r.responseText) == "string" is true
PASS typeof(r.responseText) === "string" is true
PASS typeof(r.responseText) != "string" is false
PASS typeof(r.responseText) !== "string" is false
PASS "" + typeof(r.responseText) is "string"
PASS typeof(r.responseText) + "" is "string"
PASS String(typeof(r.responseText)) is "string"
PASS String(typeof(r.responseText)) is typeof(r.responseText)
PASS successfullyParsed is true
TEST COMPLETE