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

Issue 339573003: NavigationTiming: set navigationStart for navigations in new tabs. (Closed)

Created:
6 years, 6 months ago by ppi
Modified:
6 years, 5 months ago
Reviewers:
clamy, tonyg, jam, nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

NavigationTiming: set navigationStart for navigations in new tabs. This patch uses the existing browser_navigation_start field in FrameMsg_Navigate to set the navigation start time for browser navigations in new tabs. For browser navigations that result in cross-site swap, the value is later overriden with the end of the beforeunload event of the current document. BUG=376004 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282505

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase. #

Patch Set 3 : DCHECK that browser_navigation_start is always present. #

Total comments: 6

Patch Set 4 : Rebase. #

Patch Set 5 : Address Nasko's comments. #

Patch Set 6 : Rebase. #

Patch Set 7 : Set browser_navigation_time in NavigateToURL as well. #

Patch Set 8 : Update browsertests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -8 lines) Patch
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 6 6 chunks +18 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 1 chunk +6 lines, -4 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 4 5 6 7 17 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
ppi
This contains the fix as discussed + additional comments here and there explaining what particular ...
6 years, 6 months ago (2014-06-16 15:11:05 UTC) #1
clamy
Thanks. I have a question, please see below. https://chromiumcodereview.appspot.com/339573003/diff/1/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://chromiumcodereview.appspot.com/339573003/diff/1/content/browser/frame_host/navigator_impl.cc#newcode335 content/browser/frame_host/navigator_impl.cc:335: base::TimeTicks ...
6 years, 6 months ago (2014-06-16 15:28:55 UTC) #2
ppi
Thanks, please see the reply inline. https://chromiumcodereview.appspot.com/339573003/diff/1/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://chromiumcodereview.appspot.com/339573003/diff/1/content/browser/frame_host/navigator_impl.cc#newcode335 content/browser/frame_host/navigator_impl.cc:335: base::TimeTicks navigation_start = ...
6 years, 6 months ago (2014-06-16 15:40:59 UTC) #3
clamy
Thanks, lgtm
6 years, 6 months ago (2014-06-16 15:41:57 UTC) #4
ppi
Thanks! I think this should be ready now. Adding: - Tony for moral approval - ...
6 years, 5 months ago (2014-06-27 12:22:52 UTC) #5
nasko
LGTM with some nits. https://codereview.chromium.org/339573003/diff/80001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/339573003/diff/80001/content/browser/frame_host/navigator_impl.cc#newcode96 content/browser/frame_host/navigator_impl.cc:96: // associated with the RenderView. ...
6 years, 5 months ago (2014-06-27 23:10:55 UTC) #6
ppi
Thanks, Nasko! Adding John for render_frame_impl. https://codereview.chromium.org/339573003/diff/80001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/339573003/diff/80001/content/browser/frame_host/navigator_impl.cc#newcode96 content/browser/frame_host/navigator_impl.cc:96: // associated with ...
6 years, 5 months ago (2014-07-01 18:40:14 UTC) #7
jam
lgtm
6 years, 5 months ago (2014-07-01 23:47:36 UTC) #8
tonyg
lgtm
6 years, 5 months ago (2014-07-07 22:17:41 UTC) #9
ppi
The CQ bit was checked by ppi@chromium.org
6 years, 5 months ago (2014-07-10 20:27:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ppi@chromium.org/339573003/200001
6 years, 5 months ago (2014-07-10 20:27:54 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 02:36:21 UTC) #12
Message was sent while issue was closed.
Change committed as 282505

Powered by Google App Engine
This is Rietveld 408576698