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

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

Issue 1185453005: Dump inspector protocol traffic for tests starting with inspector/elements/styles (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/http/tests/inspector/inspector-test.js » ('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();
10 console.assert(InspectorTest.debuggerModel.debuggerEnabled(), "Debugger has to be enabled"); 7 console.assert(InspectorTest.debuggerModel.debuggerEnabled(), "Debugger has to be enabled");
11 if (quiet !== undefined) 8 if (quiet !== undefined)
12 InspectorTest._quiet = quiet; 9 InspectorTest._quiet = quiet;
13 WebInspector.SourcesPanel.show(); 10 WebInspector.SourcesPanel.show();
14 11
15 InspectorTest.addSniffer(WebInspector.DebuggerModel.prototype, "_pausedScrip t", InspectorTest._pausedScript, true); 12 InspectorTest.addSniffer(WebInspector.DebuggerModel.prototype, "_pausedScrip t", InspectorTest._pausedScript, true);
16 InspectorTest.addSniffer(WebInspector.DebuggerModel.prototype, "_resumedScri pt", InspectorTest._resumedScript, true); 13 InspectorTest.addSniffer(WebInspector.DebuggerModel.prototype, "_resumedScri pt", InspectorTest._resumedScript, true);
17 InspectorTest.safeWrap(callback)(); 14 InspectorTest.safeWrap(callback)();
18 }; 15 };
19 16
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 return self.runtime.instancesPromise(WebInspector.SourcesView.EditorAction). then(function(editorActions) { 523 return self.runtime.instancesPromise(WebInspector.SourcesView.EditorAction). then(function(editorActions) {
527 for (var i = 0; i < editorActions.length; ++i) { 524 for (var i = 0; i < editorActions.length; ++i) {
528 if (editorActions[i] instanceof WebInspector.ScriptFormatterEditorAc tion) 525 if (editorActions[i] instanceof WebInspector.ScriptFormatterEditorAc tion)
529 return editorActions[i]; 526 return editorActions[i];
530 } 527 }
531 return null; 528 return null;
532 }); 529 });
533 }; 530 };
534 531
535 }; 532 };
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/inspector-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698