5 if (window
.testRunner
) {
6 window
.testRunner
.dumpAsText();
9 document
.writeln("success");
14 <p>Tests: calling HTMLDocument::writeln
</p>
16 <p> Success message: success
</p>
17 <p>Failure message: [no output]
</p>
20 <script>test()</script>