| <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> |