[PaymentHandler] Align security check with Desktop version
Before change: 1. In Android PaymentHandlers, Payment App could circumvent the security check by delaying onload. 2. toolbar url get updated on navigation end. After change: 1. Payment Apps are no longer able to circumvent the check this way. 2. toolbar url get updated on navigation start. Change: 1. * Add ssl check on security state changed * Move ssl check from page load end to navigation end 2. Move updating url from navigation end to navigation start. 3. Prevent PaymentHandlerCoordinator from calling hider in hider. 4. Prevent WebContents from being used in PaymentHandlerView after WebContents is destroyed. Bug: 1035903 Change-Id: I57821d7e6fbbdc10da2387aff7f8962ae4338716 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2037017 Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org> Reviewed-by:Liquan (Max) Gu <maxlg@chromium.org> Reviewed-by:
Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#738610}
Showing
Please register or sign in to comment