blob: 23b2a83e6df602015b29570070df3640fd36e7aa [file] [log] [blame]
Torne (Richard Coles)5c87bf82012-11-14 11:46:17 +00001Connecting to a server that doesn't respond.
2Run this from a local file to avoid cross-origin code path.
3
4<script>
5var req = new XMLHttpRequest;
6req.open("GET", "http://127.0.0.1:7", true);
7req.send();
8req.onerror = function() { document.write("onerror<br>"); }
9alert("PASSED if no crash or assertion failure");
10</script>