Commit 8ceee686 authored by Eric Lawrence's avatar Eric Lawrence Committed by Commit Bot

Remove kReduceSecurityForTesting command line argument

Previously, the "reduce-security-for-testing" flag was used by autofill
and an Android media playback codepath to workaround limitations in test
code. Everything that previously checked this flag is now gone and now
the flag itself can be removed.

Bug: 770356
Change-Id: I414d55a88d39c5f1116a4d9cf96682fd648b7089
Reviewed-on: https://chromium-review.googlesource.com/693289
Commit-Queue: Eric Lawrence <elawrence@chromium.org>
Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509485}
parent 83b96a50
...@@ -106,7 +106,6 @@ void ShowBadFlagsPrompt(Browser* browser) { ...@@ -106,7 +106,6 @@ void ShowBadFlagsPrompt(Browser* browser) {
#endif #endif
switches::kIgnoreCertificateErrors, switches::kIgnoreCertificateErrors,
switches::kIgnoreCertificateErrorsSPKIList, switches::kIgnoreCertificateErrorsSPKIList,
switches::kReduceSecurityForTesting,
invalidation::switches::kSyncAllowInsecureXmppConnection, invalidation::switches::kSyncAllowInsecureXmppConnection,
// These flags change the URLs that handle PII. // These flags change the URLs that handle PII.
......
...@@ -2611,7 +2611,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( ...@@ -2611,7 +2611,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kPassiveListenersDefault, switches::kPassiveListenersDefault,
switches::kPpapiInProcess, switches::kPpapiInProcess,
switches::kReducedReferrerGranularity, switches::kReducedReferrerGranularity,
switches::kReduceSecurityForTesting,
switches::kRegisterPepperPlugins, switches::kRegisterPepperPlugins,
switches::kRendererStartupDialog, switches::kRendererStartupDialog,
switches::kRootLayerScrolls, switches::kRootLayerScrolls,
......
...@@ -755,10 +755,6 @@ const char kProxyServer[] = "proxy-server"; ...@@ -755,10 +755,6 @@ const char kProxyServer[] = "proxy-server";
// Defaults to disabled. // Defaults to disabled.
const char kPullToRefresh[] = "pull-to-refresh"; const char kPullToRefresh[] = "pull-to-refresh";
// Enables more web features over insecure connections. Designed to be used
// for testing purposes only.
const char kReduceSecurityForTesting[] = "reduce-security-for-testing";
// Register Pepper plugins (see pepper_plugin_list.cc for its format). // Register Pepper plugins (see pepper_plugin_list.cc for its format).
const char kRegisterPepperPlugins[] = "register-pepper-plugins"; const char kRegisterPepperPlugins[] = "register-pepper-plugins";
......
...@@ -211,7 +211,6 @@ CONTENT_EXPORT extern const char kProcessPerTab[]; ...@@ -211,7 +211,6 @@ CONTENT_EXPORT extern const char kProcessPerTab[];
CONTENT_EXPORT extern const char kProcessType[]; CONTENT_EXPORT extern const char kProcessType[];
CONTENT_EXPORT extern const char kProxyServer[]; CONTENT_EXPORT extern const char kProxyServer[];
CONTENT_EXPORT extern const char kPullToRefresh[]; CONTENT_EXPORT extern const char kPullToRefresh[];
CONTENT_EXPORT extern const char kReduceSecurityForTesting[];
CONTENT_EXPORT extern const char kReducedReferrerGranularity[]; CONTENT_EXPORT extern const char kReducedReferrerGranularity[];
CONTENT_EXPORT extern const char kRegisterPepperPlugins[]; CONTENT_EXPORT extern const char kRegisterPepperPlugins[];
CONTENT_EXPORT extern const char kRemoteDebuggingPort[]; CONTENT_EXPORT extern const char kRemoteDebuggingPort[];
......
...@@ -248,9 +248,7 @@ class _BlinkPerfMeasurement(legacy_page_test.LegacyPageTest): ...@@ -248,9 +248,7 @@ class _BlinkPerfMeasurement(legacy_page_test.LegacyPageTest):
# reference builds. # reference builds.
# --disable-gesture-requirement-for-media-playback is the old one and # --disable-gesture-requirement-for-media-playback is the old one and
# can be removed after M60 goes to stable. # can be removed after M60 goes to stable.
'--enable-experimental-canvas-features', '--enable-experimental-canvas-features'
# TODO(qinmin): After fixing crbug.com/592017, remove this command line.
'--reduce-security-for-testing'
]) ])
def SetOptions(self, options): def SetOptions(self, options):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment