-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make a fenced main frame's certificate error handled like a subframe.
SSLManager handles certificate errors for the primary main frame request, we do not need to handle it in MixedContentNavigationThrottle::MaybeHandleCertificateError. At the same time, to propagate certificate errors in fenced frames to the primary main frame, we need to call outer frame's OnDidRunContentWithCertificateErrors. Otherwise, the errors cannot be seen in the primary main frame's SSL content_status because fenced frames use isolated NavigationController. Bug: 1241387 Change-Id: Ic8e2df2c4f56172dda87eab60b49e286ea439298 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3508985 Reviewed-by: Tsuyoshi Horo <horo@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Yoshisato Yanagisawa <yyanagisawa@chromium.org> Cr-Commit-Position: refs/heads/main@{#987311}
- Loading branch information
1 parent
dd0962d
commit 876d584
Showing
3 changed files
with
151 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters