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

Side by Side Diff: LayoutTests/inspector/sources/debugger/copy-stack-trace.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 function testFunction()
8 {
9 functionBar();
10 }
11
12 function functionBar()
13 {
14 functionBaz();
15 }
16
17 function functionBaz()
18 {
19 debugger;
20 }
21
22 var test = function()
23 {
24 InspectorTest.startDebuggerTest(step1);
25
26 function step1()
27 {
28 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
29 }
30
31 function step2()
32 {
33 InspectorFrontendHost.copyText = InspectorTest.addResult.bind(InspectorT est);
34 WebInspector.panels.sources.sidebarPanes.callstack._copyStackTrace();
35 InspectorTest.completeDebuggerTest();
36 }
37 }
38
39 </script>
40 </head>
41
42 <body onload="runTest()">
43 <p>
44 Tests that debugger will copy valid stack trace upon context menu action.
45 </p>
46
47 </body>
48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698