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

Issue 1259393002: DevTools: add support for logging fetch requests when XHR logging is enabled (Closed)

Created:
5 years, 4 months ago by caseq
Modified:
5 years, 4 months ago
Reviewers:
dgozman, pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, vivekg, vivekg_samsung, yurys+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, Inactive, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

DevTools: add support for logging fetch requests when XHR logging is enabled - generalize support for XHR & EventSource in InspectorResourceAgent; - add Fetch and EventSource resource types; - instrument fetch manager and handle it in resource agent similar to XHR & co; - add support for arguments in InspectorTest.invokePageFunctionAsync() - promote page methods to top of inspector-test.js to make line numbers less volatile in test expectations; BUG=513729 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199904

Patch Set 1 #

Total comments: 5

Patch Set 2 : review comments addressed #

Total comments: 4

Patch Set 3 : review comments addressed #

Patch Set 4 : fixed the test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -117 lines) Patch
A LayoutTests/http/tests/inspector/console-fetch-logging.html View 1 chunk +90 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/inspector/console-fetch-logging-expected.txt View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/inspector/console-xhr-logging-async-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt View 1 chunk +10 lines, -10 lines 0 comments Download
M LayoutTests/http/tests/inspector/inspector-test.js View 1 2 1 chunk +15 lines, -5 lines 0 comments Download
M LayoutTests/http/tests/inspector/network-test.js View 3 chunks +47 lines, -37 lines 0 comments Download
A + LayoutTests/http/tests/inspector/network/network-eventsource.html View 1 2 chunks +20 lines, -5 lines 0 comments Download
A LayoutTests/http/tests/inspector/network/network-eventsource-expected.txt View 1 1 chunk +10 lines, -0 lines 0 comments Download
A + LayoutTests/http/tests/inspector/network/network-fetch.html View 1 2 chunks +2 lines, -5 lines 0 comments Download
A + LayoutTests/http/tests/inspector/network/network-fetch-expected.txt View 1 1 chunk +2 lines, -3 lines 0 comments Download
A + LayoutTests/http/tests/inspector/network/resources/event-stream.asis View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.idl View 1 1 chunk +9 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorResourceAgent.h View 1 3 chunks +12 lines, -18 lines 0 comments Download
M Source/core/inspector/InspectorResourceAgent.cpp View 1 2 7 chunks +56 lines, -31 lines 0 comments Download
M Source/devtools/front_end/sdk/NetworkRequest.js View 1 chunk +2 lines, -1 line 0 comments Download
M Source/devtools/protocol.json View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/fetch/FetchManager.cpp View 1 2 4 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 21 (8 generated)
caseq
5 years, 4 months ago (2015-07-29 01:50:53 UTC) #2
dgozman
https://codereview.chromium.org/1259393002/diff/1/LayoutTests/http/tests/inspector/network/network-fetch-expected.txt File LayoutTests/http/tests/inspector/network/network-fetch-expected.txt (right): https://codereview.chromium.org/1259393002/diff/1/LayoutTests/http/tests/inspector/network/network-fetch-expected.txt#newcode1 LayoutTests/http/tests/inspector/network/network-fetch-expected.txt:1: Tests fetch network resource type and content. Can we ...
5 years, 4 months ago (2015-07-29 15:26:07 UTC) #3
caseq
ptal
5 years, 4 months ago (2015-07-30 21:50:15 UTC) #4
caseq
On 2015/07/29 15:26:07, dgozman wrote: > https://codereview.chromium.org/1259393002/diff/1/LayoutTests/http/tests/inspector/network/network-fetch-expected.txt > File LayoutTests/http/tests/inspector/network/network-fetch-expected.txt > (right): > > https://codereview.chromium.org/1259393002/diff/1/LayoutTests/http/tests/inspector/network/network-fetch-expected.txt#newcode1 ...
5 years, 4 months ago (2015-07-30 21:51:39 UTC) #5
dgozman
lgtm with comments https://codereview.chromium.org/1259393002/diff/20001/LayoutTests/http/tests/inspector/inspector-test.js File LayoutTests/http/tests/inspector/inspector-test.js (right): https://codereview.chromium.org/1259393002/diff/20001/LayoutTests/http/tests/inspector/inspector-test.js#newcode117 LayoutTests/http/tests/inspector/inspector-test.js:117: InspectorTest.invokePageFunctionAsync = function(functionName, optionalArgs, callback) Should ...
5 years, 4 months ago (2015-07-31 06:50:38 UTC) #6
caseq
On 2015/07/31 06:50:38, dgozman wrote: > lgtm with comments > > https://codereview.chromium.org/1259393002/diff/20001/LayoutTests/http/tests/inspector/inspector-test.js > File LayoutTests/http/tests/inspector/inspector-test.js ...
5 years, 4 months ago (2015-07-31 22:01:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1259393002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1259393002/40001
5 years, 4 months ago (2015-07-31 22:01:48 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/38910)
5 years, 4 months ago (2015-07-31 22:06:34 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1259393002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1259393002/60001
5 years, 4 months ago (2015-07-31 23:01:25 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-01 00:22:10 UTC) #16
pfeldman
lgtm
5 years, 4 months ago (2015-08-03 16:34:27 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1259393002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1259393002/60001
5 years, 4 months ago (2015-08-03 16:35:02 UTC) #20
commit-bot: I haz the power
5 years, 4 months ago (2015-08-03 18:01:00 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=199904

Powered by Google App Engine
This is Rietveld 408576698