Skip to content

Commit

Permalink
disable WebView SSL exception when command line flag ignore-certifica…
Browse files Browse the repository at this point in the history
…te-errors is given

BUG=396157

Review URL: https://codereview.chromium.org/427673006

Cr-Commit-Position: refs/heads/master@{#289497}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289497 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
wuhu@google.com committed Aug 14, 2014
1 parent eb6b97f commit ac33c2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions android_webview/browser/net/aw_url_request_context_getter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ void ApplyCmdlineOverridesToNetworkSessionParams(
switches::kTestingFixedHttpsPort), &value);
params->testing_fixed_https_port = value;
}
if (command_line.HasSwitch(switches::kIgnoreCertificateErrors)) {
params->ignore_certificate_errors = true;
}
}

void PopulateNetworkSessionParams(
Expand Down

0 comments on commit ac33c2f

Please sign in to comment.