| <p>This page verifies that a statement following a do/while statement will execute | |
| even if a semi-colon does not separate the two. See | |
| <a href="http://bugs.webkit.org/show_bug.cgi?id=10880">bug 10880</a>.</p> | |
| <p id="console">FAIL: Script following do/while statement did not execute.</p> | |
| <script> | |
| function pass() | |
| { | |
| document.getElementById("console").innerHTML = "PASS: Script following do/while statement executed."; | |
| } | |
| if (window.testRunner) | |
| testRunner.dumpAsText(); | |
| do{}while(false)pass(); | |
| </script> |