blob: fcc1ce0378f65e25d300a7bcfcdc86e7558ad8d4 [file] [log] [blame]
This tests that synchronous XMLHttpRequests fail when they are disabled for documents.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS xhr.open("GET", "http://mydomain/", false) threw exception InvalidAccessError: Failed to execute 'open' on 'XMLHttpRequest': Synchronous requests are disabled for this page..
PASS successfullyParsed is true
TEST COMPLETE