WKWebView: Show certificate information for SSL locks on iOS9.
commitc765f425ef906c45c69bd532b2fa7b76a947ad26
authoreugenebut <eugenebut@chromium.org>
Mon, 13 Jul 2015 22:25:34 +0000 (13 15:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 13 Jul 2015 22:26:26 +0000 (13 22:26 +0000)
treeba084834770345ba69acde24af0d3003593967e5
parent57ed2f5ba8d54d9de047077c4c9dd4f85fbf6d28
WKWebView: Show certificate information for SSL locks on iOS9.

cert id and content status should be updated if one of the following occur:
- in webView:didCommitNavigation: callback
- certificateChain KVO fires and load is not web::LOAD_REQUESTED
- hasOnlySecureContent KVO fires and load is not web::LOAD_REQUESTED

If KVO fires and loadPhase is web::LOAD_REQUESTED then change is happening
for a pending navigation entry and should be ignored.

BUG=462425

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

Cr-Commit-Position: refs/heads/master@{#338575}
ios/web/web_state/ui/crw_wk_web_view_web_controller.mm