<html> | |
<head> | |
<script> | |
function test() { | |
if (window.layoutTestController) { | |
window.layoutTestController.dumpAsText(); | |
} | |
document.write("<pre>"); | |
document.write("pa"); | |
document.write("ssed"); | |
document.write("</pre>"); | |
} | |
</script> | |
</head> | |
<body> | |
<p>Tests: calling HTMLDocument::write</p> | |
<p>Condition(s): multiple calls</p> | |
<p> | |
Success message: | |
<pre> | |
passed | |
</pre> | |
</p> | |
<p> | |
Failure message: | |
<pre> | |
pa | |
ssed | |
</pre> | |
</p> | |
<hr> | |
</body> | |
<script>test()</script> | |
</html> |