blob: 515ba1aee3f4a52c19d44183bcd545867bb37bb4 [file] [log] [blame]
<html>
<head>
<script>
function test() {
if (window.layoutTestController) {
window.layoutTestController.dumpAsText();
}
document.writeln("<pre>");
document.writeln("line 1");
document.writeln("line 2");
document.writeln("</pre>");
}
</script>
</head>
<body>
<p>Tests: calling HTMLDocument::writeln</p>
<p>Condition(s): multiple calls</p>
<p>
Success message:
<pre>
line 1
line 2
</pre>
</p>
<p>Failure message:
<pre>
line 1line 2
</pre>
</p>
<hr>
</body>
<script>test()</script>
</html>