summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/xhr-failure-behind-alert.html
blob: 23b2a83e6df602015b29570070df3640fd36e7aa (plain)
1
2
3
4
5
6
7
8
9
10
Connecting to a server that doesn't respond.
Run this from a local file to avoid cross-origin code path.

<script>
var req = new XMLHttpRequest;
req.open("GET", "http://127.0.0.1:7", true);
req.send();
req.onerror = function() { document.write("onerror<br>"); }
alert("PASSED if no crash or assertion failure");
</script>