<body> | |
<script src="../../../resources/js-test-pre.js"></script> | |
<script> | |
window.jsTestIsAsync = true; | |
// Reload multiple times, to make crashing more likely. | |
var iterationsLeft = 50; | |
function test() | |
{ | |
if (--iterationsLeft) { | |
frames[0].history.go(0); | |
} else { | |
gc(); | |
debug(frames[0].document.body.outerHTML); | |
finishJSTest(); | |
} | |
} | |
</script> | |
<iframe src="resources/createDocument-with-used-doctype-frame.html" onload="test()"></iframe> | |
<script src="../../../resources/js-test-post.js"></script> | |
</body> |