Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / do-while-without-semicolon.html
blobdec3861d9d2a14ad44adc2837c7bb756626f813d
1 <p>This page verifies that a statement following a do/while statement will execute
2 even if a semi-colon does not separate the two. See
3 <a href="http://bugs.webkit.org/show_bug.cgi?id=10880">bug 10880</a>.</p>
4 <p id="console">FAIL: Script following do/while statement did not execute.</p>
5 <script>
6 function pass()
8 document.getElementById("console").innerHTML = "PASS: Script following do/while statement executed.";
11 if (window.testRunner)
12 testRunner.dumpAsText();
14 do{}while(false)pass();
15 </script>