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

Unified Diff: chrome/browser/devtools/device/port_forwarding_browsertest.cc

Issue 503763002: DevTools: Test for disabling PortForwardingController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/device/port_forwarding_browsertest.cc
diff --git a/chrome/browser/devtools/device/port_forwarding_browsertest.cc b/chrome/browser/devtools/device/port_forwarding_browsertest.cc
index f2ca1e4c8a19157813a7686237b55e3f40558522..8da28073b3eb4d8f203f9712e1f34b5ac9da59c7 100644
--- a/chrome/browser/devtools/device/port_forwarding_browsertest.cc
+++ b/chrome/browser/devtools/device/port_forwarding_browsertest.cc
@@ -115,4 +115,7 @@ IN_PROC_BROWSER_TEST_F(PortForwardingTest,
"window.domAutomationController.send(getBodyMarginLeft())",
&result));
ASSERT_EQ("100px", result) << "CSS has not loaded.";
+
+ prefs->SetBoolean(prefs::kDevToolsPortForwardingEnabled, false);
dgozman 2014/08/25 15:22:05 This needs a comment. Perhaps "Test that disabling
vkuzkokov 2014/08/25 15:51:25 Done.
+ content::RunMessageLoop();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698