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

Issue 2186863002: FrameLoader: add and export isReloadLoadType() (Closed)

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

Description

FrameLoader: add and export isReloadLoadType() Now FrameLoader.h export isBackForwardLoadType(), but isReloadLoadType() equivalent code exist here and there. Let me add isReloadLoadType() too and export it to use from other places. BUG=332602 Committed: https://crrev.com/af0efbea73ecde533d1577864982288fa53b96e5 Cr-Commit-Position: refs/heads/master@{#409742}

Patch Set 1 #

Total comments: 5

Patch Set 2 : one more replace #

Patch Set 3 : speculative fix #

Total comments: 2

Patch Set 4 : review #23 #

Patch Set 5 : revert of wrong revert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -12 lines) Patch
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 3 4 4 chunks +16 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 42 (21 generated)
Takashi Toyoshima
Can you take a look? This is split from https://codereview.chromium.org/2167623002 https://codereview.chromium.org/2186863002/diff/1/third_party/WebKit/Source/core/frame/LocalFrame.cpp File third_party/WebKit/Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/2186863002/diff/1/third_party/WebKit/Source/core/frame/LocalFrame.cpp#newcode359 ...
4 years, 4 months ago (2016-07-27 10:26:49 UTC) #3
kinuko
Looks reasonable change to me, but this looks to have possible behavior changes and test ...
4 years, 4 months ago (2016-07-27 12:25:57 UTC) #4
Takashi Toyoshima
Sorry for asking review before checking dbg run results. I kicked new try of linux_precise_blink_dbg ...
4 years, 4 months ago (2016-07-28 02:46:17 UTC) #5
Takashi Toyoshima
Just in case, notes from layout test results for record. virtual/threaded/fast/scroll-behavior/overflow-scroll-scrollTo.html virtual/threaded/fast/scroll-behavior/smooth-scroll/main-thread-scrolling-reason-correctness.html crash => STDERR: ...
4 years, 4 months ago (2016-07-28 04:36:56 UTC) #6
Takashi Toyoshima
https://codereview.chromium.org/2186863002/diff/1/third_party/WebKit/Source/core/loader/FrameLoader.cpp File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/2186863002/diff/1/third_party/WebKit/Source/core/loader/FrameLoader.cpp#newcode126 third_party/WebKit/Source/core/loader/FrameLoader.cpp:126: return type == FrameLoadTypeBackForward || isReloadLoadType(type); This is the ...
4 years, 4 months ago (2016-07-28 04:39:47 UTC) #7
Takashi Toyoshima
I could not reproduce them on local machine. https://build.chromium.org/p/tryserver.blink/builders/linux_precise_blink_dbg It seems same tests are failing ...
4 years, 4 months ago (2016-07-28 10:19:58 UTC) #8
Takashi Toyoshima
New try of linux_precise_blink_dbg passed, but linux_android_rel_ng failed again. Let me take a look.
4 years, 4 months ago (2016-07-29 11:15:17 UTC) #13
Takashi Toyoshima
In my Nexus4, failed four tests could not pass even without my patch, but because ...
4 years, 4 months ago (2016-07-29 12:29:28 UTC) #14
Takashi Toyoshima
Kinuko-san, I partially reverted the behavior change from this CL, and it works fine. What ...
4 years, 4 months ago (2016-07-29 13:39:31 UTC) #15
kinuko
ok, lgtm. (sorry for slow review)
4 years, 4 months ago (2016-08-01 17:03:31 UTC) #20
Takashi Toyoshima
+tkent@chromium.org for Source/web
4 years, 4 months ago (2016-08-02 08:32:48 UTC) #22
tkent
lgtm https://codereview.chromium.org/2186863002/diff/40001/third_party/WebKit/Source/core/frame/LocalFrame.cpp File third_party/WebKit/Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/2186863002/diff/40001/third_party/WebKit/Source/core/frame/LocalFrame.cpp#newcode368 third_party/WebKit/Source/core/frame/LocalFrame.cpp:368: DCHECK(loadType == FrameLoadTypeReload); DCHECK -> DCHECK_EQ
4 years, 4 months ago (2016-08-02 23:12:14 UTC) #23
Takashi Toyoshima
https://codereview.chromium.org/2186863002/diff/40001/third_party/WebKit/Source/core/frame/LocalFrame.cpp File third_party/WebKit/Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/2186863002/diff/40001/third_party/WebKit/Source/core/frame/LocalFrame.cpp#newcode368 third_party/WebKit/Source/core/frame/LocalFrame.cpp:368: DCHECK(loadType == FrameLoadTypeReload); On 2016/08/02 23:12:14, tkent wrote: > ...
4 years, 4 months ago (2016-08-03 04:31:25 UTC) #24
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/2186863002/60001
4 years, 4 months ago (2016-08-03 04:31:50 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/115071)
4 years, 4 months ago (2016-08-03 05:41:46 UTC) #29
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/2186863002/60001
4 years, 4 months ago (2016-08-04 04:47:28 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/115941)
4 years, 4 months ago (2016-08-04 06:01:53 UTC) #33
Takashi Toyoshima
Oops, I mistakenly reverted the fix of PS3 in the PS4, and failed in CQ. ...
4 years, 4 months ago (2016-08-04 07:28:18 UTC) #35
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/2186863002/100001
4 years, 4 months ago (2016-08-04 07:28:33 UTC) #38
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 4 months ago (2016-08-04 08:36:05 UTC) #40
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 08:39:13 UTC) #42
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/af0efbea73ecde533d1577864982288fa53b96e5
Cr-Commit-Position: refs/heads/master@{#409742}

Powered by Google App Engine
This is Rietveld 408576698