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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/debugger-test.js
diff --git a/LayoutTests/http/tests/inspector/debugger-test.js b/LayoutTests/http/tests/inspector/debugger-test.js
index fa6310991db77b03f19eef7bf434b68ca18254f9..b71c0a2c4915ddd63b29004b1c573f7b1276a03e 100644
--- a/LayoutTests/http/tests/inspector/debugger-test.js
+++ b/LayoutTests/http/tests/inspector/debugger-test.js
@@ -4,6 +4,9 @@ InspectorTest.preloadPanel("sources");
InspectorTest.startDebuggerTest = function(callback, quiet)
{
+ var testPath = WebInspector.settings.createSetting("testPath", "").get();
+ if (testPath.startsWith("LayoutTests/inspector/sources/debugger-step/"))
+ InspectorTest.startDumpingProtocolMessages();
console.assert(InspectorTest.debuggerModel.debuggerEnabled(), "Debugger has to be enabled");
if (quiet !== undefined)
InspectorTest._quiet = quiet;
« 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