ap | fd68d2c | 2006-09-17 20:18:46 +0000 | [diff] [blame] | 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')"> |
eric@webkit.org | b5c7993 | 2009-09-29 19:15:13 +0000 | [diff] [blame] | 6 | <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=10852">bug 10852</a>: |
ap | fd68d2c | 2006-09-17 20:18:46 +0000 | [diff] [blame] | 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> |
| 11 | |
rniwa@webkit.org | 14a295a | 2012-06-13 07:49:51 +0000 | [diff] [blame] | 12 | if (window.testRunner) |
| 13 | testRunner.dumpAsText(); |
ap | fd68d2c | 2006-09-17 20:18:46 +0000 | [diff] [blame] | 14 | |
| 15 | function test(url) |
| 16 | { |
| 17 | req = new XMLHttpRequest(); |
| 18 | req.open('GET', url, true); |
| 19 | req.send(null); |
| 20 | } |
| 21 | |
| 22 | </script> |
| 23 | </body> |
| 24 | </html> |