forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HTTPS-First Mode] Prefer showing net error pages for transient errors
This CL exempts transient network errors (such as host resolution failures, address unreachable errors, etc.) from immediately falling back to HTTP and showing the HTTPS-First Mode interstitial. Instead, this change allows the failed navigation request to go through and show the usual network error page, which gives the user more useful context about the error. On reloading the error page (which also happens automatically), the upgraded navigation is continued and if it ultimately fails will then fallback to the original HTTP fallback URL. Bug: 1394910,1277211 Change-Id: I9204054a071d3d151a3c77187c24c785d5df6c57 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4559385 Reviewed-by: Mustafa Emre Acer <[email protected]> Commit-Queue: Chris Thompson <[email protected]> Cr-Commit-Position: refs/heads/main@{#1149160}
- Loading branch information
1 parent
4e2d529
commit 101affa
Showing
5 changed files
with
198 additions
and
21 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
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