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

Issue 1423453007: Let RenderFrameImpl set navigationStart based on CommonNavigationParams (Closed)

Created:
5 years, 1 month ago by Charlie Harrison
Modified:
5 years, 1 month ago
CC:
blink-reviews, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, gavinp+loader_chromium.org, jam, Nate Chapin, loading-reviews_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@navigation_start_common_params
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Let RenderFrameImpl set navigationStart based on CommonNavigationParams This entails setting the timestamp before we set it in blink, so DocumentLoadTiming had to be modified to allow for that. We set the value in didCreateDataSource. didCreateDataSource was also refactored slightly so that same-page navigations don't need to call it anymore. This is 2/3 of the effort to add a navigation_start timestamp to DidStartProvisional load. The full CL we're breaking up is here: https://codereview.chromium.org/1425823002/ BUG=548335 Committed: https://crrev.com/5f61ecb107fd7118621a99fe03b094f37ce04394 Cr-Commit-Position: refs/heads/master@{#358144}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Comments and whitespace (trybots previous) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -46 lines) Patch
M content/renderer/render_frame_impl.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 10 chunks +66 lines, -44 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoadTiming.cpp View 2 chunks +10 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 26 (9 generated)
Charlie Harrison
Please take a look. The most major decision is avoiding special casing same-page navigations in ...
5 years, 1 month ago (2015-11-03 18:41:00 UTC) #3
clamy
Thanks! A few comments, mostly nits. https://codereview.chromium.org/1423453007/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1423453007/diff/1/content/renderer/render_frame_impl.cc#newcode466 content/renderer/render_frame_impl.cc:466: // The browser ...
5 years, 1 month ago (2015-11-04 13:33:44 UTC) #4
Charlie Harrison
Thanks! https://codereview.chromium.org/1423453007/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1423453007/diff/1/content/renderer/render_frame_impl.cc#newcode466 content/renderer/render_frame_impl.cc:466: // The browser provides the navigation_start time to ...
5 years, 1 month ago (2015-11-04 14:13:49 UTC) #5
clamy
Thanks! Lgtm.
5 years, 1 month ago (2015-11-04 15:49:57 UTC) #6
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-11-05 01:27:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1423453007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1423453007/20001
5 years, 1 month ago (2015-11-05 14:13:52 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/125078)
5 years, 1 month ago (2015-11-05 15:21:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1423453007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1423453007/20001
5 years, 1 month ago (2015-11-05 15:24:41 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/136490)
5 years, 1 month ago (2015-11-05 18:07:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1423453007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1423453007/20001
5 years, 1 month ago (2015-11-05 18:52:58 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/136605)
5 years, 1 month ago (2015-11-05 20:23:42 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1423453007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1423453007/20001
5 years, 1 month ago (2015-11-05 21:03:54 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-05 22:01:57 UTC) #22
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/5f61ecb107fd7118621a99fe03b094f37ce04394 Cr-Commit-Position: refs/heads/master@{#358144}
5 years, 1 month ago (2015-11-05 22:02:50 UTC) #23
nasko
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1427243003/ by nasko@chromium.org. ...
5 years, 1 month ago (2015-11-06 00:04:14 UTC) #24
Charlie Harrison
On 2015/11/06 00:04:14, nasko (slow to review) wrote: > A revert of this CL (patchset ...
5 years, 1 month ago (2015-11-06 02:56:44 UTC) #25
clamy
5 years, 1 month ago (2015-11-06 11:01:49 UTC) #26
Message was sent while issue was closed.
When developping PlzNavigate, we also found that this test was very flaky. We
had to disable it on our bot, even though it routinely passes locally. We also
found that even with the current architecture it is somewhat flaky on the bots
right now. Removing the flaky part sgtm.

Powered by Google App Engine
This is Rietveld 408576698