| OLD | NEW |
| 1 <body> | 1 <body> |
| 2 <script src="../../js/resources/js-test-pre.js"></script> | 2 <script src="../../js/resources/js-test-pre.js"></script> |
| 3 <script> | 3 <script> |
| 4 window.jsTestIsAsync = true; | 4 window.jsTestIsAsync = true; |
| 5 | 5 |
| 6 // Reload multiple times, to make crashing more likely. | 6 // Reload multiple times, to make crashing more likely. |
| 7 var iterationsLeft = 50; | 7 var iterationsLeft = 50; |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 if (--iterationsLeft) { | 10 if (--iterationsLeft) { |
| 11 frames[0].history.go(0); | 11 frames[0].history.go(0); |
| 12 } else { | 12 } else { |
| 13 gc(); | 13 gc(); |
| 14 debug(frames[0].document.body.outerHTML); | 14 debug(frames[0].document.body.outerHTML); |
| 15 finishJSTest(); | 15 finishJSTest(); |
| 16 } | 16 } |
| 17 } | 17 } |
| 18 </script> | 18 </script> |
| 19 <iframe src="resources/createDocument-with-used-doctype-frame.html" onload="test
()"></iframe> | 19 <iframe src="resources/createDocument-with-used-doctype-frame.html" onload="test
()"></iframe> |
| 20 <script src="../../js/resources/js-test-post.js"></script> | |
| 21 </body> | 20 </body> |
| OLD | NEW |