blob: 8e7ec5800b87faeae9fe0ce7b984871c106ae8f8 [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