Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / xhr-failure-behind-alert.html
blob23b2a83e6df602015b29570070df3640fd36e7aa
1 Connecting to a server that doesn't respond.
2 Run this from a local file to avoid cross-origin code path.
4 <script>
5 var req = new XMLHttpRequest;
6 req.open("GET", "http://127.0.0.1:7", true);
7 req.send();
8 req.onerror = function() { document.write("onerror<br>"); }
9 alert("PASSED if no crash or assertion failure");
10 </script>