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

Issue 2124253002: FrameLoader: Fix NavigationType for FrameLoadTypeReloadMainResource (Closed)

Created:
4 years, 5 months ago by Takashi Toyoshima
Modified:
4 years, 5 months ago
Reviewers:
kinuko
CC:
chromium-reviews, blink-reviews, loading-reviews_chromium.org, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

FrameLoader: Fix NavigationType for FrameLoadTypeReloadMainResource When I introduced FrameLoadTypeReloadMainResource, this modification was not applied mistakenly. The right NavigationType for the one is NavigationTypeReload as is for other reload variants' FrameLoadType. This results in propagating a wrong is_reload flag to some delegates, e.g. blink::WebLocalFrameImpl::dispatchBeforeUnloadEvent(). BUG=612701 Committed: https://crrev.com/4496d1472533b3c70eddbfd6519e6646bb710ef0 Cr-Commit-Position: refs/heads/master@{#404126}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
Takashi Toyoshima
ptal
4 years, 5 months ago (2016-07-07 08:56:17 UTC) #3
kinuko
looks good, any tests to capture this..?
4 years, 5 months ago (2016-07-07 09:20:40 UTC) #4
Takashi Toyoshima
This bug should be captured by BrowserTest.BeforeUnloadVsBeforeReload if the feature is enabled. That's how I ...
4 years, 5 months ago (2016-07-07 09:50:30 UTC) #5
kinuko
lgtm.
4 years, 5 months ago (2016-07-07 10:41:37 UTC) #6
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/2124253002/1
4 years, 5 months ago (2016-07-07 10:42:15 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-07 11:16:07 UTC) #10
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-07 11:16:14 UTC) #11
commit-bot: I haz the power
4 years, 5 months ago (2016-07-07 11:17:52 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4496d1472533b3c70eddbfd6519e6646bb710ef0
Cr-Commit-Position: refs/heads/master@{#404126}

Powered by Google App Engine
This is Rietveld 408576698