4 <p>Check the behavior of HTMLDocument.write() / writeln().
</p>
5 You should see exactly
2 'PASS' lines below:
<br>
8 testRunner
.dumpAsText();
10 // Check that HTMLDocument.write() / writeln() accept several string arguments.
11 document
.write('P', 'A', 'SS', "<br>");
12 document
.writeln('P', 'A', 'SS', "<br>");
13 document
.write("<br>");
16 You should see exactly
2 'null' lines below:
<br>
19 document
.write("<br>");
20 document
.writeln(null);
21 document
.write("<br><br>");
23 You should see exactly
2 'undefined' lines below:
<br>
25 document
.write(undefined);
26 document
.write("<br>");
27 document
.writeln(undefined);
28 document
.write("<br>");