| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 if (window.testRunner) { | 4 if (window.testRunner) { |
| 5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
| 6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
| 7 } | 7 } |
| 8 | 8 |
| 9 window.addEventListener('load', function() { | 9 window.addEventListener('load', function() { |
| 10 function finish() | 10 function finish() |
| 11 { | 11 { |
| 12 iframe.remove(); | 12 iframe.remove(); |
| 13 testRunner.notifyDone(); | 13 testRunner.notifyDone(); |
| 14 } | 14 } |
| 15 window._iframeLoaded = finish; | 15 window._iframeLoaded = finish; |
| 16 var iframe = document.createElement("iframe"); | 16 var iframe = document.createElement("iframe"); |
| 17 document.body.appendChild(iframe); | 17 document.body.appendChild(iframe); |
| 18 iframe.src = "resources/page-with-large-script.cgi?1000000"; | 18 iframe.src = "resources/page-with-large-script.cgi?750000"; |
| 19 }, false); | 19 }, false); |
| 20 | 20 |
| 21 </script> | 21 </script> |
| 22 </head> | 22 </head> |
| 23 <body> | 23 <body> |
| 24 <p>This tests time complexity of parsing HTML with large inlined script.</p> | 24 <p>This tests time complexity of parsing HTML with large inlined script.</p> |
| 25 </body> | 25 </body> |
| 26 </html> | 26 </html> |
| OLD | NEW |