haikuwebkit/LayoutTests/fast/dom/HTMLDocument/writeln-call.html

22 lines
344 B
HTML

<html>
<head>
<script>
function test() {
if (window.testRunner) {
window.testRunner.dumpAsText();
}
document.writeln("success");
}
</script>
</head>
<body>
<p>Tests: calling HTMLDocument::writeln</p>
<p>Condition(s): </p>
<p> Success message: success </p>
<p>Failure message: [no output] </p>
<hr>
</body>
<script>test()</script>
</html>