36 lines
451 B
HTML
36 lines
451 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
function test() {
|
|
if (window.testRunner) {
|
|
window.testRunner.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>
|