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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/lazy-addeventlisteners-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 function scheduleTestFunction() 1 function scheduleTestFunction()
2 { 2 {
3 setTimeout(testFunction, 0); 3 setTimeout(testFunction, 0);
4 } 4 }
5 5
6 var initialize_DebuggerTest = function() { 6 var initialize_DebuggerTest = function() {
7 7
8 InspectorTest.preloadPanel("sources"); 8 InspectorTest.preloadPanel("sources");
9 9
10 InspectorTest.startDebuggerTest = function(callback, quiet) 10 InspectorTest.startDebuggerTest = function(callback, quiet)
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 InspectorTest.runTestFunctionAndWaitUntilPausedPromise = function() 97 InspectorTest.runTestFunctionAndWaitUntilPausedPromise = function()
98 { 98 {
99 var cb; 99 var cb;
100 var p = new Promise(fullfill => cb = fullfill); 100 var p = new Promise(fullfill => cb = fullfill);
101 InspectorTest.runTestFunctionAndWaitUntilPaused(cb); 101 InspectorTest.runTestFunctionAndWaitUntilPaused(cb);
102 return p; 102 return p;
103 } 103 }
104 104
105 InspectorTest.runAsyncCallStacksTest = function(totalDebuggerStatements, maxAsyn cCallStackDepth) 105 InspectorTest.runAsyncCallStacksTest = function(totalDebuggerStatements, maxAsyn cCallStackDepth)
106 { 106 {
107 var defaultMaxAsyncCallStackDepth = 8; 107 var defaultMaxAsyncCallStackDepth = 32;
108 108
109 InspectorTest.setQuiet(true); 109 InspectorTest.setQuiet(true);
110 InspectorTest.startDebuggerTest(step1); 110 InspectorTest.startDebuggerTest(step1);
111 111
112 function step1() 112 function step1()
113 { 113 {
114 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDept h || defaultMaxAsyncCallStackDepth, step2); 114 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDept h || defaultMaxAsyncCallStackDepth, step2);
115 } 115 }
116 116
117 function step2() 117 function step2()
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 var bookmark = bookmarks[index]; 725 var bookmark = bookmarks[index];
726 if (bookmark) { 726 if (bookmark) {
727 bookmark[Sources.JavaScriptSourceFrame.BreakpointDecoration._elementSymb olForTest].click(); 727 bookmark[Sources.JavaScriptSourceFrame.BreakpointDecoration._elementSymb olForTest].click();
728 } else { 728 } else {
729 InspectorTest.addResult(`Could not click on Javascript breakpoint - line Number: ${lineNumber}, index: ${index}`); 729 InspectorTest.addResult(`Could not click on Javascript breakpoint - line Number: ${lineNumber}, index: ${index}`);
730 next(); 730 next();
731 } 731 }
732 } 732 }
733 733
734 }; 734 };
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/lazy-addeventlisteners-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698