Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / xmlhttprequest / xhr-onunload.html
blob7c60aec185e71ee157fea0feaa22904f4fcd2888
1 <html>
2 <head>
3 <title></title>
4 <meta http-equiv="content-type" content="text/html;charset=utf-8">
5 <body onunload="test('xhr-ununload.html')">
6 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=10852">bug 10852</a>:
7 REGRESSION: Reproducible crash in XMLHttpRequest::abort().
8 <p>Press Cmd+R to reload (should not crash).</p>
9 <!-- When running as an automated test, crashes when loading the next test case. -->
10 <script>
12 if (window.testRunner)
13 testRunner.dumpAsText();
15 function test(url)
17 req = new XMLHttpRequest();
18 req.open('GET', url, true);
19 req.send(null);
22 </script>
23 </body>
24 </html>