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

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

Issue 2828863002: [DevTools] enable async stacks by default (Closed)
Patch Set: ac Created 3 years, 8 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 12 matching lines...) Expand all
23 { 23 {
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 = text => InspectorTest.addResult(Inspect orTest.clearSpecificInfoFromStackFrames(text));
34 self.runtime.sharedInstance(Sources.CallStackSidebarPane)._copyStackTrac e(); 34 self.runtime.sharedInstance(Sources.CallStackSidebarPane)._copyStackTrac e();
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