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

Issue 2943523002: Fire start/stop based on Frame::IsLoading for same document navigations (Closed)

Created:
3 years, 6 months ago by Nate Chapin
Modified:
3 years, 6 months ago
Reviewers:
dcheng
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fire start/stop based on Frame::IsLoading for same document navigations Prior to this change, DidStartLoading/DidStopLoading is fired for same document navigations based on a heuristic similar to (but not exactly the same as) the heuristic that changes the Frame loading bit. There's no reason to have multiple different definitions, and this should prevent a situation in which we have interleaved start/stop notifications (or 2 starts but only 1 stop). BUG= Review-Url: https://codereview.chromium.org/2943523002 Cr-Commit-Position: refs/heads/master@{#480968} Committed: https://chromium.googlesource.com/chromium/src/+/f52c295d282cfb4c88f075008d53c9daec7da71e

Patch Set 1 #

Patch Set 2 : drop start/stop for same doc nav #

Patch Set 3 : Fire start/stop based on IsLoading #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -8 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/navigation/cross-origin-fragment-navigation-is-async-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/navigation/same-origin-fragment-navigation-is-sync-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 2 chunks +3 lines, -6 lines 1 comment Download

Messages

Total messages: 21 (17 generated)
Nate Chapin
dcheng, WDYT? https://codereview.chromium.org/2943523002/diff/40001/third_party/WebKit/Source/core/loader/FrameLoader.cpp File third_party/WebKit/Source/core/loader/FrameLoader.cpp (left): https://codereview.chromium.org/2943523002/diff/40001/third_party/WebKit/Source/core/loader/FrameLoader.cpp#oldcode512 third_party/WebKit/Source/core/loader/FrameLoader.cpp:512: Client()->DispatchDidReceiveTitle(frame_->GetDocument()->title()); DispatchDidReceiveTitle should be called whenever the ...
3 years, 6 months ago (2017-06-19 20:49:32 UTC) #15
dcheng
LGTM - seems like a great cleanup to me.
3 years, 6 months ago (2017-06-20 08:28:53 UTC) #16
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/2943523002/40001
3 years, 6 months ago (2017-06-20 18:35:38 UTC) #18
commit-bot: I haz the power
3 years, 6 months ago (2017-06-20 21:39:28 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f52c295d282cfb4c88f075008d53...

Powered by Google App Engine
This is Rietveld 408576698