Request a file as the Text type with asynchronous XMLHttpRequest in a document context.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS req.status is 200
PASS req.response is "PASS"
PASS req.status is 200
PASS req.response is "PASS"
PASS
FAIL req.status is 200
PASS should be 200. Was 0.
FAIL req.response is "PASS" should be PASS. Was .
PASS successfullyParsed is true

TEST COMPLETE