Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(769)

Issue 2538423002: Reload Reloaded: Use ReloadMainResource even on recovering from offline (Closed)

Created:
4 years ago by Takashi Toyoshima
Modified:
4 years ago
Reviewers:
mmenke, dcheng
CC:
chromium-reviews, blink-reviews, cbentzel+watch_chromium.org, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reload Reloaded: Use ReloadMainResource even on recovering from offline blink::WebFrameLoadType::Reload re-validates all resources, but blink::WebFrameLoadType::ReloadMainResource only re-validates the main document. Recently NavigationController was modified to use ReloadMainResource instead of Reload. When chrome is offline, NetErrorHelper monitors network state, and reload a page when it gets online. Since NetErrorHelper does not use NavigationController, but calls WebFrame::reload() interface, it still uses traditional reload type, Reload. Let replace it with ReloadMainResource as we did for reloads through the NavigationController. BUG=669580 Committed: https://crrev.com/e702f8d9772ebd56c5a75186841d98222861dae3 Cr-Commit-Position: refs/heads/master@{#435886}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M chrome/renderer/net/net_error_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
Takashi Toyoshima
mmenke: chrome/renderer/net dcheng: Blink Can you take a look?
4 years ago (2016-12-01 11:04:19 UTC) #6
mmenke
On 2016/12/01 11:04:19, toyoshim wrote: > mmenke: chrome/renderer/net > dcheng: Blink > > Can you ...
4 years ago (2016-12-01 15:29:34 UTC) #9
dcheng
blink LGTM
4 years ago (2016-12-01 22:13:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2538423002/1
4 years ago (2016-12-02 08:16:45 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-02 08:24:00 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-02 08:25:47 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e702f8d9772ebd56c5a75186841d98222861dae3
Cr-Commit-Position: refs/heads/master@{#435886}

Powered by Google App Engine
This is Rietveld 408576698