mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-16 20:20:51 +01:00
Only disable request handling for HTTP/S schemes (see issue #3110)
The `--disable-request-handling-for-testing` command-line flag would previously disable handling of all schemes, including custom schemes and internal schemes such as devtools.
This commit is contained in:
parent
62a9f00bd3
commit
f3ed6619da
@ -1313,7 +1313,7 @@ void ProxyURLLoaderFactory::CreateLoaderAndStart(
|
||||
return;
|
||||
}
|
||||
|
||||
if (DisableRequestHandlingForTesting()) {
|
||||
if (DisableRequestHandlingForTesting() && request.url.SchemeIsHTTPOrHTTPS()) {
|
||||
// This is the so-called pass-through, no-op option.
|
||||
if (target_factory_) {
|
||||
target_factory_->CreateLoaderAndStart(std::move(receiver), request_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user