Add --disable-request-handling-for-testing option

Add a command-line option to bypass request handling in CEF to faciliate
debugging of network-related issues.
This commit is contained in:
Marshall Greenblatt
2021-06-11 12:09:16 -04:00
parent de46befc18
commit 430895168d
3 changed files with 17 additions and 2 deletions

View File

@@ -129,6 +129,11 @@ const char kDisableChromeLoginPrompt[] = "disable-chrome-login-prompt";
// Override the product component of the default User-Agent string.
const char kUserAgentProductAndVersion[] = "user-agent-product";
// Disable request handling in CEF to faciliate debugging of network-related
// issues.
const char kDisableRequestHandlingForTesting[] =
"disable-request-handling-for-testing";
#if defined(OS_MAC)
// Path to the framework directory.
const char kFrameworkDirPath[] = "framework-dir-path";

View File

@@ -56,6 +56,7 @@ extern const char kDevToolsProtocolLogFile[];
extern const char kEnableChromeRuntime[];
extern const char kDisableChromeLoginPrompt[];
extern const char kUserAgentProductAndVersion[];
extern const char kDisableRequestHandlingForTesting[];
#if defined(OS_MAC)
extern const char kFrameworkDirPath[];