3 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../../http/tests/inspector/console-test.js"></script>
5 <script src=
"../../../http/tests/inspector/debugger-test.js"></script>
8 function testFunction()
10 testFunction
.invocationCount
++;
14 testFunction
.invocationCount
= 0;
18 InspectorTest
.startDebuggerTest(step1
);
22 InspectorTest
.runTestFunctionAndWaitUntilPaused(step2
);
27 InspectorTest
.evaluateInConsole("testFunction(); testFunction.invocationCount", step3
);
28 InspectorTest
.addResult("Set timer for test function.");
31 function step3(result
)
33 InspectorTest
.addResult("testFunction.invocationCount = " + result
);
34 InspectorTest
.completeDebuggerTest();
41 <body onload=
"runTest()">
43 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>