WKWebView: Do not DCHECK on invalid CertVerifierBlockAdapter::Params.
commit9b0d2bc32bdebafc620ec86e7aae04d079942fc4
authoreugenebut <eugenebut@chromium.org>
Mon, 13 Jul 2015 16:45:41 +0000 (13 09:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 13 Jul 2015 16:46:19 +0000 (13 16:46 +0000)
tree62afacfdf239fb64b18bc790ffcecb987224c40a
parenteb88f2d27a565e27fd8e948cce2afbd313097fc4
WKWebView: Do not DCHECK on invalid CertVerifierBlockAdapter::Params.

cert and hostname params are coming from System API and both can
potentially be null. For CertVerifierBlockAdapter client
(web controller) it will be more convenient not to handle a special case
with invalid cert and/or hostname. Instead params error will be handled
in completionHandler block along with other errors.

BUG=462427

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

Cr-Commit-Position: refs/heads/master@{#338517}
ios/web/net/cert_verifier_block_adapter.cc
ios/web/net/cert_verifier_block_adapter.h
ios/web/net/cert_verifier_block_adapter_unittest.cc