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

Issue 1828203005: Expose SPDY pushes in DevTools (Closed)

Created:
4 years, 9 months ago by caseq
Modified:
4 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, jam, caseq+blink_chromium.org, lushnikov+blink_chromium.org, blink-reviews-api_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, darin-cc_chromium.org, devtools-reviews_chromium.org, blink-reviews, apavlov+blink_chromium.org, sergeyv+blink_chromium.org, kinuko+watch, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose SPDY pushes in DevTools This adds push start/end times to LoadTimingInfo and plumbs it all the way to DevTools Network panel. BUG=464501 Committed: https://crrev.com/e8340bc90789f2084eb1cb128b87679170a5d59d Cr-Commit-Position: refs/heads/master@{#388367}

Patch Set 1 #

Patch Set 2 : extracted push into category #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : extended test, updated comments #

Patch Set 5 : adjusted time interpolation to not scale outside of source range #

Total comments: 1

Patch Set 6 : added a test #

Total comments: 16

Patch Set 7 : changed the test to use URLRequestMockHTTPJob #

Total comments: 8

Patch Set 8 : review comments addressed #

Patch Set 9 : updated wording on push_end comment #

Total comments: 2

Patch Set 10 : removed irrelevant comment in devtools_sanity_test.cc, added one in Tests.js #

Total comments: 1

Patch Set 11 : Bence's comment addressed #

Patch Set 12 : extraced URLRequestNonsecureConnection cleanup into a separate CL #

Patch Set 13 : fixed tests #

Patch Set 14 : fixed tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+390 lines, -59 lines) Patch
M chrome/browser/devtools/devtools_sanity_browsertest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +105 lines, -0 lines 0 comments Download
A + chrome/test/data/devtools/image.png View 1 2 3 4 5 Binary file 0 comments Download
A chrome/test/data/devtools/push_test_page.html View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M content/child/resource_dispatcher.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/inter_process_time_ticks_converter.cc View 1 2 3 4 5 6 1 chunk +9 lines, -2 lines 0 comments Download
M content/common/inter_process_time_ticks_converter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +26 lines, -0 lines 0 comments Download
M content/common/resource_messages.cc View 3 chunks +9 lines, -1 line 0 comments Download
M net/base/load_timing_info.h View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -5 lines 0 comments Download
M net/base/load_timing_info_test_util.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +10 lines, -0 lines 0 comments Download
M net/spdy/spdy_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +15 lines, -8 lines 0 comments Download
M net/spdy/spdy_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +36 lines, -14 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Tests.js View 1 2 3 4 5 6 7 8 9 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js View 1 2 9 chunks +37 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/networkLogView.css View 1 4 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/networkPanel.css View 1 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/protocol.json View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebURLLoadTiming.cpp View 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/network/ResourceLoadTiming.h View 3 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/network/ResourceLoadTiming.cpp View 4 chunks +17 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebURLLoadTiming.h View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 69 (22 generated)
caseq
Matt, please take a look at net/ part. Dmitri, please review the DevTools part.
4 years, 9 months ago (2016-03-24 22:59:17 UTC) #2
mmenke
[+bnc]: Bence, this more in your neck of the woods than mine. Mind taking lead ...
4 years, 9 months ago (2016-03-24 23:06:33 UTC) #4
dgozman
Could you please add a screenshot of UI changes?
4 years, 9 months ago (2016-03-24 23:56:00 UTC) #5
ajayapra
On 2016/03/24 23:56:00, dgozman wrote: > Could you please add a screenshot of UI changes? ...
4 years, 9 months ago (2016-03-25 00:00:22 UTC) #6
caseq
On 2016/03/25 00:00:22, ajayapra wrote: > On 2016/03/24 23:56:00, dgozman wrote: > > Could you ...
4 years, 9 months ago (2016-03-25 00:09:44 UTC) #7
caseq
Offline comments from Dmitry and Paul addressed: - extract Push into a category of its ...
4 years, 9 months ago (2016-03-25 01:47:50 UTC) #8
Bence
https://codereview.chromium.org/1828203005/diff/40001/net/spdy/spdy_stream.cc File net/spdy/spdy_stream.cc (right): https://codereview.chromium.org/1828203005/diff/40001/net/spdy/spdy_stream.cc#newcode782 net/spdy/spdy_stream.cc:782: load_timing_info->push_end = How about this instead: if (done_receiving) push_end ...
4 years, 9 months ago (2016-03-25 14:42:54 UTC) #9
mmenke
https://codereview.chromium.org/1828203005/diff/40001/content/child/resource_dispatcher.cc File content/child/resource_dispatcher.cc (right): https://codereview.chromium.org/1828203005/diff/40001/content/child/resource_dispatcher.cc#newcode636 content/child/resource_dispatcher.cc:636: RemoteToLocalTimeTicks(converter, &load_timing->push_end); This is somewhat weird...Since renderer process times ...
4 years, 9 months ago (2016-03-25 14:50:28 UTC) #10
dgozman
https://codereview.chromium.org/1828203005/diff/40001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js File third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js (right): https://codereview.chromium.org/1828203005/diff/40001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode205 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:205: addOffsetRange(WebInspector.RequestTimeRangeNames.Blocking, 0, blocking); Are you sure there could not ...
4 years, 9 months ago (2016-03-25 16:25:42 UTC) #11
caseq
ptal -- I changed wording in comments and added another expectation to spdy_stream_unittest > https://codereview.chromium.org/1828203005/diff/40001/net/spdy/spdy_stream.cc ...
4 years, 9 months ago (2016-03-25 19:30:32 UTC) #12
mmenke
On 2016/03/25 19:30:32, caseq wrote: > ptal -- I changed wording in comments and added ...
4 years, 9 months ago (2016-03-25 20:34:08 UTC) #13
dgozman
devtools lgtm
4 years, 9 months ago (2016-03-25 21:46:29 UTC) #14
caseq
> Here's my suggestion: If the time is between the browser > start/end times, use ...
4 years, 9 months ago (2016-03-25 21:52:59 UTC) #15
mmenke
On 2016/03/25 21:52:59, caseq wrote: > > Here's my suggestion: If the time is between ...
4 years, 9 months ago (2016-03-25 21:56:42 UTC) #16
caseq
On 2016/03/25 21:56:42, mmenke wrote: > > Guess that means we have no browser tests ...
4 years, 9 months ago (2016-03-25 22:03:20 UTC) #17
mmenke
On 2016/03/25 22:03:20, caseq wrote: > On 2016/03/25 21:56:42, mmenke wrote: > > > > ...
4 years, 8 months ago (2016-03-28 17:57:57 UTC) #18
mmenke
https://codereview.chromium.org/1828203005/diff/80001/content/common/inter_process_time_ticks_converter.cc File content/common/inter_process_time_ticks_converter.cc (right): https://codereview.chromium.org/1828203005/diff/80001/content/common/inter_process_time_ticks_converter.cc#newcode63 content/common/inter_process_time_ticks_converter.cc:63: return LocalTimeTicks(local_base_time_ + remote_delta.value_); Shouldn't this be: if (remote_ms.value_ ...
4 years, 8 months ago (2016-03-28 18:04:54 UTC) #19
mmenke
On 2016/03/28 17:57:57, mmenke wrote: > On 2016/03/25 22:03:20, caseq wrote: > > On 2016/03/25 ...
4 years, 8 months ago (2016-03-28 18:06:44 UTC) #20
caseq
On 2016/03/28 17:57:57, mmenke wrote: > On 2016/03/25 22:03:20, caseq wrote: > > On 2016/03/25 ...
4 years, 8 months ago (2016-04-07 23:49:31 UTC) #21
caseq
On 2016/03/28 18:04:54, mmenke wrote: > https://codereview.chromium.org/1828203005/diff/80001/content/common/inter_process_time_ticks_converter.cc > File content/common/inter_process_time_ticks_converter.cc (right): > > https://codereview.chromium.org/1828203005/diff/80001/content/common/inter_process_time_ticks_converter.cc#newcode63 > ...
4 years, 8 months ago (2016-04-07 23:50:33 UTC) #22
mmenke
https://codereview.chromium.org/1828203005/diff/100001/chrome/browser/devtools/devtools_sanity_browsertest.cc File chrome/browser/devtools/devtools_sanity_browsertest.cc (right): https://codereview.chromium.org/1828203005/diff/100001/chrome/browser/devtools/devtools_sanity_browsertest.cc#newcode174 chrome/browser/devtools/devtools_sanity_browsertest.cc:174: class PushTimesMockURLRequestJob : public net::URLRequestHttpJob { I'd rather this ...
4 years, 8 months ago (2016-04-08 16:21:36 UTC) #23
caseq
https://codereview.chromium.org/1828203005/diff/100001/chrome/browser/devtools/devtools_sanity_browsertest.cc File chrome/browser/devtools/devtools_sanity_browsertest.cc (right): https://codereview.chromium.org/1828203005/diff/100001/chrome/browser/devtools/devtools_sanity_browsertest.cc#newcode174 chrome/browser/devtools/devtools_sanity_browsertest.cc:174: class PushTimesMockURLRequestJob : public net::URLRequestHttpJob { On 2016/04/08 16:21:36, ...
4 years, 8 months ago (2016-04-08 22:39:28 UTC) #25
mmenke
https://codereview.chromium.org/1828203005/diff/100001/chrome/browser/devtools/devtools_sanity_browsertest.cc File chrome/browser/devtools/devtools_sanity_browsertest.cc (right): https://codereview.chromium.org/1828203005/diff/100001/chrome/browser/devtools/devtools_sanity_browsertest.cc#newcode1015 chrome/browser/devtools/devtools_sanity_browsertest.cc:1015: DispatchOnTestSuite(window_, "testPushTimes", push_url.spec().c_str()); On 2016/04/08 22:39:28, caseq wrote: > ...
4 years, 8 months ago (2016-04-11 17:45:52 UTC) #26
caseq
https://codereview.chromium.org/1828203005/diff/100001/chrome/browser/devtools/devtools_sanity_browsertest.cc File chrome/browser/devtools/devtools_sanity_browsertest.cc (right): https://codereview.chromium.org/1828203005/diff/100001/chrome/browser/devtools/devtools_sanity_browsertest.cc#newcode1015 chrome/browser/devtools/devtools_sanity_browsertest.cc:1015: DispatchOnTestSuite(window_, "testPushTimes", push_url.spec().c_str()); On 2016/04/11 17:45:52, mmenke wrote: > ...
4 years, 8 months ago (2016-04-13 21:48:46 UTC) #27
mmenke
Just 3 followup responses https://codereview.chromium.org/1828203005/diff/100001/chrome/browser/devtools/devtools_sanity_browsertest.cc File chrome/browser/devtools/devtools_sanity_browsertest.cc (right): https://codereview.chromium.org/1828203005/diff/100001/chrome/browser/devtools/devtools_sanity_browsertest.cc#newcode1015 chrome/browser/devtools/devtools_sanity_browsertest.cc:1015: DispatchOnTestSuite(window_, "testPushTimes", push_url.spec().c_str()); On 2016/04/13 ...
4 years, 8 months ago (2016-04-14 15:50:33 UTC) #28
caseq
On 2016/04/14 15:50:33, mmenke wrote: Bence, are you fine with the spdy part of the ...
4 years, 8 months ago (2016-04-14 19:07:05 UTC) #29
mmenke
On 2016/04/14 19:07:05, caseq wrote: > On 2016/04/14 15:50:33, mmenke wrote: > > Bence, are ...
4 years, 8 months ago (2016-04-14 19:15:40 UTC) #30
dgozman
devtools with test lgtm https://codereview.chromium.org/1828203005/diff/180001/chrome/browser/devtools/devtools_sanity_browsertest.cc File chrome/browser/devtools/devtools_sanity_browsertest.cc (right): https://codereview.chromium.org/1828203005/diff/180001/chrome/browser/devtools/devtools_sanity_browsertest.cc#newcode1032 chrome/browser/devtools/devtools_sanity_browsertest.cc:1032: // Tests raw headers text. ...
4 years, 8 months ago (2016-04-15 21:13:17 UTC) #31
caseq
ping bnc, do you want to take a look? On 2016/04/15 21:13:17, dgozman wrote: > ...
4 years, 8 months ago (2016-04-15 21:55:04 UTC) #32
Bence
LGTM with nit. Thanks for the ping, sorry for the delay. https://codereview.chromium.org/1828203005/diff/200001/net/spdy/spdy_stream.cc File net/spdy/spdy_stream.cc (right): ...
4 years, 8 months ago (2016-04-18 16:45:47 UTC) #33
pfeldman
lgtm
4 years, 8 months ago (2016-04-18 19:31:39 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828203005/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828203005/220001
4 years, 8 months ago (2016-04-18 20:46:36 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/169988)
4 years, 8 months ago (2016-04-18 20:59:01 UTC) #39
caseq
+palmer for content/common/*_message* OWNERs -- could you please take a look?
4 years, 8 months ago (2016-04-18 21:37:58 UTC) #41
palmer
lgtm
4 years, 8 months ago (2016-04-18 21:56:28 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828203005/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828203005/260001
4 years, 8 months ago (2016-04-18 21:57:36 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/156486)
4 years, 8 months ago (2016-04-18 22:26:56 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828203005/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828203005/260001
4 years, 8 months ago (2016-04-18 22:55:08 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828203005/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828203005/280001
4 years, 8 months ago (2016-04-19 03:09:52 UTC) #53
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-19 07:08:09 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828203005/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828203005/300001
4 years, 8 months ago (2016-04-19 17:09:18 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/56360)
4 years, 8 months ago (2016-04-19 19:34:37 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828203005/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828203005/300001
4 years, 8 months ago (2016-04-19 21:03:21 UTC) #62
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/56557)
4 years, 8 months ago (2016-04-19 22:48:13 UTC) #64
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828203005/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828203005/300001
4 years, 8 months ago (2016-04-19 22:51:07 UTC) #66
commit-bot: I haz the power
Committed patchset #14 (id:300001)
4 years, 8 months ago (2016-04-20 00:03:08 UTC) #67
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:18:32 UTC) #69
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/e8340bc90789f2084eb1cb128b87679170a5d59d
Cr-Commit-Position: refs/heads/master@{#388367}

Powered by Google App Engine
This is Rietveld 408576698