Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: LayoutTests/inspector/sources/debugger/debugger-no-nested-pause.html

Issue 1153923005: DevTools: shard inspector/debugger tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
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>
6 <script>
7
8 function testFunction()
9 {
10 testFunction.invocationCount++;
11 debugger;
12 }
13
14 testFunction.invocationCount = 0;
15
16 var test = function()
17 {
18 InspectorTest.startDebuggerTest(step1);
19
20 function step1()
21 {
22 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
23 }
24
25 function step2()
26 {
27 InspectorTest.evaluateInConsole("testFunction(); testFunction.invocation Count", step3);
28 InspectorTest.addResult("Set timer for test function.");
29 }
30
31 function step3(result)
32 {
33 InspectorTest.addResult("testFunction.invocationCount = " + result);
34 InspectorTest.completeDebuggerTest();
35 }
36 }
37
38 </script>
39 </head>
40
41 <body onload="runTest()">
42 <p>
43 Tests that debugger will skip breakpoint hit when script execution is already pa used. <a href="https://bugs.webkit.org/show_bug.cgi?id=41768">See bug</a>
44 </p>
45
46 </body>
47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698