changeset 0 | 4f2f89ce4247 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebCore/manual-tests/xhr-failure-behind-alert.html Fri Sep 17 09:02:29 2010 +0300 @@ -0,0 +1,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>