Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exempt Chrome Apps <webview> from HTTPS-First Mode
This fixes a crash caused by the HttpsOnlyModeTabHelper not being created for Chrome Apps <webview> contexts, and makes things a bit more robust by creating the TabHelper if it does not yet exist when the HttpsOnlyModeNavigationThrottle is created. This also exempts Chrome Apps <webview> contexts from HTTPS-First Mode, since they fall outside the domain of the feature as currently implemented (and because Apps have superpowers that could bypass this and other features already). Also includes new WebViewHttpsFirstModeTest regression tests for this crash for both HTTP and HTTPS page loads in <webview>. Bug: 1233889 Change-Id: I6a2d5fb5325e5ae390cdb88f43e234cc9430c0d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3059961 Commit-Queue: Chris Thompson <cthomp@chromium.org> Reviewed-by: Carlos IL <carlosil@chromium.org> Reviewed-by: Kevin McNee <mcnee@chromium.org> Cr-Commit-Position: refs/heads/master@{#907334}
- Loading branch information
1 parent
4e43e5c
commit 9996b4e
Showing
4 changed files
with
114 additions
and
5 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
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