forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the same reload policy of the failed request in NetErrorHelper's …
…auto-reload. When the user does a hard refresh (ctrl+ shift + r) and a network error happens, NetErrorHelper tries to auto-reload the page. But NetErrorHelper::ReloadPage() doesn't care about the |ignoreCache| flag. So the reloaded page will be the result of normal reload. This cl introduces was_ignoring_cache flag to ErrorPageInfo and set the |ignoreCache| flag if the cache policy of the failed first reload request was ReloadBypassingCache which is set in FrameLoader::resourceRequestForReload(). BUG=489051 Review URL: https://codereview.chromium.org/1414603009 Cr-Commit-Position: refs/heads/master@{#359010}
- Loading branch information
Showing
6 changed files
with
242 additions
and
164 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
Oops, something went wrong.