haikuwebkit/LayoutTests/js/dom/webcore-string-comparison-e...

18 lines
599 B
Plaintext

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