3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/debugger-test.js"></script>
7 function testFunction()
9 testFunction.invocationCount++;
13 testFunction.invocationCount = 0;
17 InspectorTest.startDebuggerTest(step1);
21 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
26 InspectorTest.evaluateInConsole("testFunction(); testFunction.invocationCount", step3);
27 InspectorTest.addResult("Set timer for test function.");
30 function step3(result)
32 InspectorTest.addResult("testFunction.invocationCount = " + result);
33 InspectorTest.completeDebuggerTest();
40 <body onload="runTest()">
42 Tests that debugger will skip breakpoint hit when script execution is already paused. <a href="https://bugs.webkit.org/show_bug.cgi?id=41768">See bug</a>