Commit e9286935 authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

Remove content shell flag --custom-devtools-frontend

This flag is not to be confused with the Chrome flag with the same name.
This one in particular is not used anywhere.

Change-Id: Ie6ce31e516d0f4c19ab1291a8bbb37ea63eb97de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1764150Reviewed-by: default avatarPeter Beverloo <peter@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689147}
parent 7969d894
...@@ -88,18 +88,10 @@ GURL WebTestDevToolsBindings::MapTestURLIfNeeded(const GURL& test_url, ...@@ -88,18 +88,10 @@ GURL WebTestDevToolsBindings::MapTestURLIfNeeded(const GURL& test_url,
base::FilePath dev_tools_path; base::FilePath dev_tools_path;
bool is_debug_dev_tools = base::CommandLine::ForCurrentProcess()->HasSwitch( bool is_debug_dev_tools = base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDebugDevTools); switches::kDebugDevTools);
std::string url_string; // The test runner hosts DevTools resources at this path.
if (base::CommandLine::ForCurrentProcess()->HasSwitch( std::string url_string = "http://localhost:8000/inspector-sources/";
switches::kCustomDevToolsFrontend)) { if (is_debug_dev_tools)
url_string = base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( url_string += "debug/";
switches::kCustomDevToolsFrontend);
} else {
// The test runner hosts DevTools resources at this path by default.
url_string = "http://localhost:8000/inspector-sources/";
if (is_debug_dev_tools)
url_string += "debug/";
}
url_string += "integration_test_runner.html?experiments=true"; url_string += "integration_test_runner.html?experiments=true";
if (is_debug_dev_tools) if (is_debug_dev_tools)
url_string += "&debugFrontend=true"; url_string += "&debugFrontend=true";
......
...@@ -16,9 +16,6 @@ const char kCrashOnFailure[] = "crash-on-failure"; ...@@ -16,9 +16,6 @@ const char kCrashOnFailure[] = "crash-on-failure";
// Run devtools tests in debug mode (not bundled and minified) // Run devtools tests in debug mode (not bundled and minified)
const char kDebugDevTools[] = "debug-devtools"; const char kDebugDevTools[] = "debug-devtools";
// Specify a custom path to devtools for devtools tests
const char kCustomDevToolsFrontend[] = "custom-devtools-frontend";
// Enable accelerated 2D canvas. // Enable accelerated 2D canvas.
const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas"; const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas";
......
...@@ -16,7 +16,6 @@ namespace switches { ...@@ -16,7 +16,6 @@ namespace switches {
extern const char kAllowExternalPages[]; extern const char kAllowExternalPages[];
extern const char kCrashOnFailure[]; extern const char kCrashOnFailure[];
extern const char kCustomDevToolsFrontend[];
extern const char kDebugDevTools[]; extern const char kDebugDevTools[];
extern const char kEnableAccelerated2DCanvas[]; extern const char kEnableAccelerated2DCanvas[];
extern const char kEnableFontAntialiasing[]; extern const char kEnableFontAntialiasing[];
......
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