Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / xmlhttprequest / xmlhttprequest-post-crash.html
blobdea83264595bc46f249a77e1fd097f5d14a4bdf8
1 <html>
2 <head>
3 <script type="text/javascript">
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
10 var xhr = new XMLHttpRequest();
12 xhr.onreadystatechange = function() {
13 if (xhr.readyState == 4) {
14 document.getElementById("page").textContent = "PASS";
15 if (window.testRunner)
16 testRunner.notifyDone();
20 xhr.open("POST", "resources/1251.html", true);
21 xhr.send(null);
22 </script>
23 </head>
24 <body>
25 <p> Test case for <a href="http://bugs.webkit.org/show_bug.cgi?id=16906">bug 16906</a>: [CURL] Crash below ResourceHandleManager::setupPOST when job->request().httpBody() is NULL </p>
26 <p> This page should not crash and you should see PASS</p>
27 <div id="page"/>
28 </body>
29 </html>