1 Connecting to a server that doesn't respond.
2 Run this from a local file to avoid cross-origin code path.
5 var req
= new XMLHttpRequest
;
6 req
.open("GET", "http://127.0.0.1:7", true);
8 req
.onerror = function() { document
.write("onerror<br>"); }
9 alert("PASSED if no crash or assertion failure");