blob: 2e7187fef9a5ff42b71cf7815f776e44b94e7a22 [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