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

Unified Diff: chrome/test/chromedriver/chrome_launcher.cc

Issue 2552093003: [chromedriver] Replace "--load-component-extension" with "--disable-extensions-except" switch.
Patch Set: Created 4 years 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/test/chromedriver/chrome_launcher.cc
diff --git a/chrome/test/chromedriver/chrome_launcher.cc b/chrome/test/chromedriver/chrome_launcher.cc
index b66294a526fb7da80359c59de6faf5013059a752..ea1ec0f18483df84d2f9113802d47d18ae7db984 100644
--- a/chrome/test/chromedriver/chrome_launcher.cc
+++ b/chrome/test/chromedriver/chrome_launcher.cc
@@ -782,11 +782,11 @@ Status ProcessExtensions(const std::vector<std::string>& extensions,
// On Chrome for Windows and Mac, a "Disable developer mode extensions"
// dialog appears for the automation extension. Suppress this by loading
// it as a component extension.
- UpdateExtensionSwitch(switches, "load-component-extension",
+ UpdateExtensionSwitch(switches, "disable-extensions-except",
automation_extension.value());
#else
if (switches->HasSwitch("disable-extensions")) {
- UpdateExtensionSwitch(switches, "load-component-extension",
+ UpdateExtensionSwitch(switches, "disable-extensions-except",
automation_extension.value());
} else {
extension_paths.push_back(automation_extension.value());
« 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