OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript"> | 3 <script type="text/javascript"> |
4 | 4 |
5 if (window.testRunner) { | 5 if (window.testRunner) { |
6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
8 } | 8 } |
9 | 9 |
10 var xhr = new XMLHttpRequest(); | 10 var xhr = new XMLHttpRequest(); |
11 | 11 |
12 xhr.onreadystatechange = function() { | 12 xhr.onreadystatechange = function() { |
13 if (xhr.readyState == 4) { | 13 if (xhr.readyState == 4 && xhr.status == 200) { |
| 14 var doc = xhr.responseXML; |
| 15 var children = doc.getElementsByTagName("child"); |
| 16 console.log(children); |
14 document.getElementById("page").textContent = "PASS"; | 17 document.getElementById("page").textContent = "PASS"; |
15 if (window.testRunner) | 18 if (window.testRunner) |
16 testRunner.notifyDone(); | 19 testRunner.notifyDone(); |
17 } | 20 } |
18 } | 21 } |
19 | 22 |
20 xhr.open("POST", "resources/1251.html", true); | 23 xhr.open("GET", "resources/big.xml", true); |
21 xhr.send(null); | 24 xhr.send(null); |
22 </script> | 25 </script> |
23 </head> | 26 </head> |
24 <body> | 27 <body> |
25 <p> Test case for <a href="http://bugs.webkit.org/show_bug.cgi?id=16906">bug 169
06</a>: [CURL] Crash below ResourceHandleManager::setupPOST when job->request().
httpBody() is NULL </p> | 28 <p> Test case for <a href="https://code.google.com/p/chromium/issues/detail?id=5
28078">bug 528078</a>: XML files fail to parse if over 10 million bytes in size<
/p> |
26 <p> This page should not crash and you should see PASS</p> | 29 <p> You should see PASS.</p> |
27 <div id="page"/> | 30 <div id="page"/> |
28 </body> | 31 </body> |
29 </html> | 32 </html> |
| 33 |
OLD | NEW |