Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / HTMLDocument / writeln-call.html
1 <html>
2 <head>
3 <script>
4 function test() {
5         if (window.testRunner) {
6                 window.testRunner.dumpAsText();
7         }
8
9         document.writeln("success");
10 }
11 </script>
12 </head>
13 <body>
14 <p>Tests: calling HTMLDocument::writeln</p>
15 <p>Condition(s): </p>
16 <p> Success message: success </p>
17 <p>Failure message: [no output] </p>
18 <hr>
19 </body>
20 <script>test()</script>
21 </html>