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

Side by Side Diff: LayoutTests/inspector/sources/debugger/debugger-pause-in-eval-script.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/debugger-test.js"></script>
5 <script>
6
7
8 var test = function()
9 {
10 var scriptToEvaluate = "function testFunction() {\n" +
11 " debugger;\n" +
12 "}\n" +
13 "setTimeout(testFunction, 0);\n";
14
15 InspectorTest.startDebuggerTest(step1);
16
17 function step1()
18 {
19 InspectorTest.evaluateInPage(scriptToEvaluate, InspectorTest.addResult.b ind(InspectorTest, "Evaluated script in console."));
20 InspectorTest.waitUntilPaused(step2);
21 }
22
23 function step2(callFrames)
24 {
25 InspectorTest.captureStackTrace(callFrames);
26 InspectorTest.completeDebuggerTest();
27 }
28 }
29
30 </script>
31 </head>
32
33 <body onload="runTest()">
34 <p>
35 Tests that debugger will stop on "debugger" statement in a function that was add ed
36 to the inspected page via evaluation in Web Inspector console.<a href="https://b ugs.webkit.org/show_bug.cgi?id=41058">Bug 41058</a>
37 </p>
38
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698