Home | History | Annotate | Download | only in manual_tests
      1 <script>
      2 function stepOne()
      3 {
      4     console.log(1);
      5 }
      6 
      7 function stepTwo()
      8 {
      9     alert("Test failed. The second button event still fired.");
     10 }
     11 </script>
     12 
     13 <p>To test, open the DevTools (Ctrl+Shift+I) and reload the page. Set a break point inside the stepOne() function.
     14 Now click the Step One button in the page. The breakpoint should be hit. While paused at the breakpoint
     15 click on the Step Two button. You should not see an alert dialog. Continue script.</p>
     16 <button onclick="stepOne()">Step One</button><br><br>
     17 <button onclick="stepTwo()">Step Two</button>
     18