Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(714)

Issue 101203007: Override cache policy when changing a reload to a back/forward navigation. (Closed)

Created:
6 years, 11 months ago by davidben
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, rmcilroy
Visibility:
Public.

Description

Override cache policy when changing a reload to a back/forward navigation. In some cases, the RenderView performs a history navigation in response to a reload when the WebFrame does not have the page in question committed. Override the cache policy so the navigation revalidates the cache, rather than skipping revalidation altogether. BUG=331386 TEST=CrashRecoveryBrowserTest.ReloadCacheRevalidate Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243796

Patch Set 1 #

Total comments: 3

Patch Set 2 : Switch Expires to max-age. (And rebase) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -4 lines) Patch
M chrome/browser/crash_recovery_browsertest.cc View 1 4 chunks +61 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 5 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
davidben
This is the third of a three-legged change. Sending them all out now to get ...
6 years, 11 months ago (2014-01-06 23:00:16 UTC) #1
jamesr
I am not a good reviewer for navigation related things.
6 years, 11 months ago (2014-01-06 23:49:25 UTC) #2
darin (slow to review)
LGTM https://codereview.chromium.org/101203007/diff/1/chrome/browser/crash_recovery_browsertest.cc File chrome/browser/crash_recovery_browsertest.cc (right): https://codereview.chromium.org/101203007/diff/1/chrome/browser/crash_recovery_browsertest.cc#newcode56 chrome/browser/crash_recovery_browsertest.cc:56: response->AddCustomHeader("Expires", "Thu, 1 Jan 2099 00:00:00 GMT"); nit: ...
6 years, 11 months ago (2014-01-07 07:39:58 UTC) #3
davidben
CQing now that dependent CLs are in and try jobs look good. https://codereview.chromium.org/101203007/diff/1/chrome/browser/crash_recovery_browsertest.cc File chrome/browser/crash_recovery_browsertest.cc ...
6 years, 11 months ago (2014-01-08 17:38:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/101203007/120001
6 years, 11 months ago (2014-01-08 17:40:36 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=243455
6 years, 11 months ago (2014-01-08 20:22:36 UTC) #6
davidben
On 2014/01/08 20:22:36, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 11 months ago (2014-01-09 02:39:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/101203007/120001
6 years, 11 months ago (2014-01-09 02:43:24 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-09 07:32:28 UTC) #9
Message was sent while issue was closed.
Change committed as 243796

Powered by Google App Engine
This is Rietveld 408576698