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

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

Issue 1177373005: Dump inspector traffic to stderr for all tests under inspector/sources/debugger-step (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
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger-step/debugger-step-into-document-write.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var initialize_DebuggerTest = function() { 1 var initialize_DebuggerTest = function() {
2 2
3 InspectorTest.preloadPanel("sources"); 3 InspectorTest.preloadPanel("sources");
4 4
5 InspectorTest.startDebuggerTest = function(callback, quiet) 5 InspectorTest.startDebuggerTest = function(callback, quiet)
6 { 6 {
7 var testPath = WebInspector.settings.createSetting("testPath", "").get();
8 if (testPath.startsWith("LayoutTests/inspector/sources/debugger-step/"))
9 InspectorTest.startDumpingProtocolMessages();
7 console.assert(InspectorTest.debuggerModel.debuggerEnabled(), "Debugger has to be enabled"); 10 console.assert(InspectorTest.debuggerModel.debuggerEnabled(), "Debugger has to be enabled");
8 if (quiet !== undefined) 11 if (quiet !== undefined)
9 InspectorTest._quiet = quiet; 12 InspectorTest._quiet = quiet;
10 WebInspector.SourcesPanel.show(); 13 WebInspector.SourcesPanel.show();
11 14
12 InspectorTest.addSniffer(WebInspector.DebuggerModel.prototype, "_pausedScrip t", InspectorTest._pausedScript, true); 15 InspectorTest.addSniffer(WebInspector.DebuggerModel.prototype, "_pausedScrip t", InspectorTest._pausedScript, true);
13 InspectorTest.addSniffer(WebInspector.DebuggerModel.prototype, "_resumedScri pt", InspectorTest._resumedScript, true); 16 InspectorTest.addSniffer(WebInspector.DebuggerModel.prototype, "_resumedScri pt", InspectorTest._resumedScript, true);
14 InspectorTest.safeWrap(callback)(); 17 InspectorTest.safeWrap(callback)();
15 }; 18 };
16 19
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 return self.runtime.instancesPromise(WebInspector.SourcesView.EditorAction). then(function(editorActions) { 526 return self.runtime.instancesPromise(WebInspector.SourcesView.EditorAction). then(function(editorActions) {
524 for (var i = 0; i < editorActions.length; ++i) { 527 for (var i = 0; i < editorActions.length; ++i) {
525 if (editorActions[i] instanceof WebInspector.ScriptFormatterEditorAc tion) 528 if (editorActions[i] instanceof WebInspector.ScriptFormatterEditorAc tion)
526 return editorActions[i]; 529 return editorActions[i];
527 } 530 }
528 return null; 531 return null;
529 }); 532 });
530 }; 533 };
531 534
532 }; 535 };
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger-step/debugger-step-into-document-write.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698