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

Issue 2084583002: Update chrome.loadTimes() to use timings from WebPerformance. (Closed)

Created:
4 years, 6 months ago by Bryan McQuade
Modified:
4 years, 5 months ago
Reviewers:
Pat Meenan
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update chrome.loadTimes() to use timings from WebPerformance. Update chrome.loadTimes() to use timings from WebPerformance, which backs the standardized navigation timing API, instead of the deprecated DocumentState timings. BUG=621512 Committed: https://crrev.com/0d38f4e0ac28e2af5feec1fe93085037f9eb8d45 Cr-Commit-Position: refs/heads/master@{#403570}

Patch Set 1 #

Patch Set 2 : use first contentful paint #

Patch Set 3 : revert to old start_load_time. #

Patch Set 4 : fix #

Total comments: 10

Patch Set 5 : address pmeenan comments #

Patch Set 6 : address comments #

Patch Set 7 : address comments #

Patch Set 8 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -9 lines) Patch
M chrome/renderer/loadtimes_extension_bindings.cc View 1 2 3 4 5 6 7 4 chunks +43 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Bryan McQuade
PTAL
4 years, 6 months ago (2016-06-20 14:25:07 UTC) #2
Pat Meenan
https://codereview.chromium.org/2084583002/diff/60001/chrome/renderer/loadtimes_extension_bindings.cc File chrome/renderer/loadtimes_extension_bindings.cc (right): https://codereview.chromium.org/2084583002/diff/60001/chrome/renderer/loadtimes_extension_bindings.cc#newcode147 chrome/renderer/loadtimes_extension_bindings.cc:147: double commit_load_time = document_state->commit_load_time().ToDoubleT(); Maybe use web_performance.responseStart() since that's ...
4 years, 5 months ago (2016-06-27 16:23:39 UTC) #4
Bryan McQuade
Thanks for the review! Addressed comments. https://codereview.chromium.org/2084583002/diff/60001/chrome/renderer/loadtimes_extension_bindings.cc File chrome/renderer/loadtimes_extension_bindings.cc (right): https://codereview.chromium.org/2084583002/diff/60001/chrome/renderer/loadtimes_extension_bindings.cc#newcode147 chrome/renderer/loadtimes_extension_bindings.cc:147: double commit_load_time = ...
4 years, 5 months ago (2016-06-27 20:35:14 UTC) #5
Pat Meenan
On 2016/06/27 20:35:14, Bryan McQuade wrote: > Thanks for the review! Addressed comments. > > ...
4 years, 5 months ago (2016-06-28 12:55:19 UTC) #6
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/2084583002/160001
4 years, 5 months ago (2016-07-01 23:06:05 UTC) #8
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 5 months ago (2016-07-02 00:04:45 UTC) #9
commit-bot: I haz the power
4 years, 5 months ago (2016-07-02 00:08:03 UTC) #11
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/0d38f4e0ac28e2af5feec1fe93085037f9eb8d45
Cr-Commit-Position: refs/heads/master@{#403570}

Powered by Google App Engine
This is Rietveld 408576698