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

Issue 1108283002: PlzNavigate: Call DidStartLoading and DidStopLoading. (Closed)

Created:
5 years, 7 months ago by Fabrice (no longer in Chrome)
Modified:
5 years, 7 months ago
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, creis+watch_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: Call DidStartLoading and DidStopLoading. This fixes many tests in content_unittests and content_browsertests. BUG=439423, 470082, 475027 Committed: https://crrev.com/39ff038656968e925eebe5d1bbb4ccd92f31cc7b Cr-Commit-Position: refs/heads/master@{#327535}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review comments. #

Total comments: 2

Patch Set 3 : Commentses #

Total comments: 4

Patch Set 4 : Rephrase comment #

Total comments: 4

Patch Set 5 : Commentses. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -14 lines) Patch
M content/browser/frame_host/frame_tree_node.cc View 1 2 3 4 2 chunks +34 lines, -13 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 20 (3 generated)
Fabrice (no longer in Chrome)
PTAL. FYI, this fixes the following tests: content_unittests: NavigationControllerTest.LoadURL_AbortDoesntCancelPending NavigationControllerTest.LoadURL_IgnorePreemptsPending NavigationControllerTest.ShowRendererURLAfterFailUntilModified NavigationControllerTest.ShowRendererURLInNewTabUntilModified content_browsertests: DatabaseTest.ReloadPage FrameTreeBrowserTest.FrameTreeAfterCrash ...
5 years, 7 months ago (2015-04-28 11:07:14 UTC) #2
clamy
Thanks! One comment, and besides that the way we compute whether a FrameTreeNode is loading ...
5 years, 7 months ago (2015-04-28 11:42:56 UTC) #3
Fabrice (no longer in Chrome)
Thanks! I had to reset the navigation request earlier in ResetNavigationRequest. https://codereview.chromium.org/1108283002/diff/1/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): ...
5 years, 7 months ago (2015-04-28 14:40:29 UTC) #4
clamy
Thanks! Lgtm with one nit. https://codereview.chromium.org/1108283002/diff/20001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1108283002/diff/20001/content/browser/frame_host/frame_tree_node.cc#newcode215 content/browser/frame_host/frame_tree_node.cc:215: navigation_request_.reset(); nit: I wonder ...
5 years, 7 months ago (2015-04-28 14:46:51 UTC) #5
Fabrice (no longer in Chrome)
Thanks! https://codereview.chromium.org/1108283002/diff/20001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1108283002/diff/20001/content/browser/frame_host/frame_tree_node.cc#newcode215 content/browser/frame_host/frame_tree_node.cc:215: navigation_request_.reset(); On 2015/04/28 14:46:50, clamy wrote: > nit: ...
5 years, 7 months ago (2015-04-28 14:59:12 UTC) #6
nasko
https://codereview.chromium.org/1108283002/diff/40001/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/1108283002/diff/40001/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode998 content/browser/frame_host/navigation_controller_impl_unittest.cc:998: EXPECT_EQ(4, delegate->navigation_state_change_count()); Why do we have different value for ...
5 years, 7 months ago (2015-04-28 17:10:08 UTC) #7
Fabrice (no longer in Chrome)
https://codereview.chromium.org/1108283002/diff/40001/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/1108283002/diff/40001/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode998 content/browser/frame_host/navigation_controller_impl_unittest.cc:998: EXPECT_EQ(4, delegate->navigation_state_change_count()); On 2015/04/28 17:10:08, nasko wrote: > Why ...
5 years, 7 months ago (2015-04-28 17:16:44 UTC) #8
Charlie Reis
LGTM once Nasko's happy. One question about the comment below. https://codereview.chromium.org/1108283002/diff/40001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1108283002/diff/40001/content/browser/frame_host/frame_tree_node.cc#newcode211 ...
5 years, 7 months ago (2015-04-28 23:10:04 UTC) #9
nasko
LGTM, provided we address Charlie's comment.
5 years, 7 months ago (2015-04-28 23:43:09 UTC) #10
Fabrice (no longer in Chrome)
Thanks! https://codereview.chromium.org/1108283002/diff/40001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1108283002/diff/40001/content/browser/frame_host/frame_tree_node.cc#newcode211 content/browser/frame_host/frame_tree_node.cc:211: // cleanup performed since the navigation is still ...
5 years, 7 months ago (2015-04-29 09:54:43 UTC) #11
clamy
Thanks! A comment about the comment :). https://codereview.chromium.org/1108283002/diff/60001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1108283002/diff/60001/content/browser/frame_host/frame_tree_node.cc#newcode211 content/browser/frame_host/frame_tree_node.cc:211: // cleanup ...
5 years, 7 months ago (2015-04-29 10:01:21 UTC) #12
Fabrice (no longer in Chrome)
Thanks! https://codereview.chromium.org/1108283002/diff/60001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1108283002/diff/60001/content/browser/frame_host/frame_tree_node.cc#newcode211 content/browser/frame_host/frame_tree_node.cc:211: // cleanup performed since the load is still ...
5 years, 7 months ago (2015-04-29 14:32:24 UTC) #13
nasko
LGTM https://codereview.chromium.org/1108283002/diff/60001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1108283002/diff/60001/content/browser/frame_host/frame_tree_node.cc#newcode211 content/browser/frame_host/frame_tree_node.cc:211: // cleanup performed since the load is still ...
5 years, 7 months ago (2015-04-29 16:27:39 UTC) #14
Charlie Reis
LGTM https://codereview.chromium.org/1108283002/diff/60001/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1108283002/diff/60001/content/browser/frame_host/frame_tree_node.cc#newcode211 content/browser/frame_host/frame_tree_node.cc:211: // cleanup performed since the load is still ...
5 years, 7 months ago (2015-04-29 16:52:55 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108283002/80001
5 years, 7 months ago (2015-04-29 16:56:06 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-04-29 19:04:47 UTC) #19
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 19:06:48 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/39ff038656968e925eebe5d1bbb4ccd92f31cc7b
Cr-Commit-Position: refs/heads/master@{#327535}

Powered by Google App Engine
This is Rietveld 408576698