WebCore/manual-tests/xhr-failure-behind-alert.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 01:32:07 +0300
changeset 2 303757a437d3
parent 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037 Kit: 201039

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>