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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/copy-stack-trace.html

Issue 2238003002: DevTools: migrate sources panel sidebar to views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: followed up on the watch test. Created 4 years, 4 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script> 5 <script>
6 6
7 function testFunction() 7 function testFunction()
8 { 8 {
9 functionBar(); 9 functionBar();
10 } 10 }
(...skipping 13 matching lines...) Expand all
24 InspectorTest.startDebuggerTest(step1); 24 InspectorTest.startDebuggerTest(step1);
25 25
26 function step1() 26 function step1()
27 { 27 {
28 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); 28 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
29 } 29 }
30 30
31 function step2() 31 function step2()
32 { 32 {
33 InspectorFrontendHost.copyText = InspectorTest.addResult.bind(InspectorT est); 33 InspectorFrontendHost.copyText = InspectorTest.addResult.bind(InspectorT est);
34 WebInspector.panels.sources.sidebarPanes.callstack._copyStackTrace(); 34 self.runtime.sharedInstance(WebInspector.CallStackSidebarPane)._copyStac kTrace();
35 InspectorTest.completeDebuggerTest(); 35 InspectorTest.completeDebuggerTest();
36 } 36 }
37 } 37 }
38 38
39 </script> 39 </script>
40 </head> 40 </head>
41 41
42 <body onload="runTest()"> 42 <body onload="runTest()">
43 <p> 43 <p>
44 Tests that debugger will copy valid stack trace upon context menu action. 44 Tests that debugger will copy valid stack trace upon context menu action.
45 </p> 45 </p>
46 46
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698