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

Issue 114123005: Show media and VTT text tracks in the devtools. (Closed)

Created:
7 years ago by pwnall-personal
Modified:
6 years, 8 months ago
CC:
blink-reviews, caseq+blink_chromium.org, Nate Chapin, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, gasubic, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, gavinp+loader_chromium.org, nessy, devtools-reviews_chromium.org, aandrey+blink_chromium.org, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Show media and VTT text tracks in the devtools. This also introduces a Resource::Media type to the fetcher, and makes text track fetches use the existing (but apparently unused) Resource::TextTrack type. This change does the initial work of wiring Media and TextTrack resources into the devtools and leaves a lot of room for future improvements, such as media previews in the Network tab. BUG=329817 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171279

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Removed #include left over from rebasing. #

Patch Set 3 : Colored bars in the Network panel. #

Patch Set 4 : Rebased against master #

Patch Set 5 : Protocol-level test, bugfixes. #

Patch Set 6 : Updated broken test #

Patch Set 7 : Fix unintended deviation from previous behavior. #

Total comments: 8

Patch Set 8 : Rebased against master. #

Patch Set 9 : Addressed some feedback. #

Patch Set 10 : Failed rebasing. #

Total comments: 2

Patch Set 11 : Rebased. #

Patch Set 12 : Addressed feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -24 lines) Patch
A LayoutTests/inspector-protocol/network/resource-type.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +86 lines, -0 lines 0 comments Download
A LayoutTests/inspector-protocol/network/resource-type-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/inspector-protocol/network/resources/resources-page.html View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
A + LayoutTests/inspector-protocol/network/resources/script.js View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/inspector-protocol/network/resources/stylesheet.css View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/inspector/network/network-toggle-type-filter.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/inspector/network/network-toggle-type-filter-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +19 lines, -13 lines 0 comments Download
M Source/core/fetch/RawResource.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/Resource.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -2 lines 0 comments Download
M Source/core/fetch/Resource.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 2 3 4 5 6 7 8 9 10 7 chunks +18 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorPageAgent.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +13 lines, -5 lines 0 comments Download
M Source/core/loader/DocumentThreadableLoader.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -1 line 0 comments Download
M Source/core/loader/TextTrackLoader.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/NetworkManager.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M Source/devtools/front_end/ResourceType.js View 2 chunks +6 lines, -1 line 0 comments Download
M Source/devtools/front_end/networkLogView.css View 1 2 3 4 5 6 7 8 9 3 chunks +31 lines, -0 lines 0 comments Download
M Source/devtools/protocol.json View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
pwnall-personal
Jochen, can you please take a look at this? I'm not sure what's the right ...
7 years ago (2013-12-19 09:16:26 UTC) #1
jochen (gone - plz use gerrit)
somebody from devtools should review this
7 years ago (2013-12-19 09:21:59 UTC) #2
apavlov
+"protocol.json" owners https://codereview.chromium.org/114123005/diff/20001/Source/core/fetch/ResourceFetcher.cpp File Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/114123005/diff/20001/Source/core/fetch/ResourceFetcher.cpp#newcode389 Source/core/fetch/ResourceFetcher.cpp:389: extra blank line https://codereview.chromium.org/114123005/diff/20001/Source/core/loader/DocumentThreadableLoader.cpp File Source/core/loader/DocumentThreadableLoader.cpp (right): ...
7 years ago (2013-12-19 09:31:52 UTC) #3
pwnall-personal
On 2013/12/19 09:21:59, jochen wrote: > somebody from devtools should review this Can you please ...
7 years ago (2013-12-19 09:32:45 UTC) #4
pwnall-personal
Thank you, Alexander! https://codereview.chromium.org/114123005/diff/20001/Source/core/loader/DocumentThreadableLoader.cpp File Source/core/loader/DocumentThreadableLoader.cpp (right): https://codereview.chromium.org/114123005/diff/20001/Source/core/loader/DocumentThreadableLoader.cpp#newcode47 Source/core/loader/DocumentThreadableLoader.cpp:47: #include "platform/Logging.h" On 2013/12/19 09:31:52, apavlov ...
7 years ago (2013-12-19 09:39:33 UTC) #5
pwnall-personal
I figured out how to test this change -- I added a test that works ...
7 years ago (2013-12-20 08:54:35 UTC) #6
vsevik
Added japhet@ to review adding new resource type. I am not sure this is the ...
7 years ago (2013-12-20 15:28:26 UTC) #7
pwnall-personal
On 2013/12/20 15:28:26, vsevik wrote: > Added japhet@ to review adding new resource type. > ...
7 years ago (2013-12-20 21:37:52 UTC) #8
pwnall-personal
I addressed a piece of feedback that I missed earlier (sorry!) and fixed the broken ...
6 years, 12 months ago (2013-12-24 17:52:17 UTC) #9
eustas
The code looks good to me. https://codereview.chromium.org/114123005/diff/170001/LayoutTests/inspector-protocol/network/resource-type.html File LayoutTests/inspector-protocol/network/resource-type.html (right): https://codereview.chromium.org/114123005/diff/170001/LayoutTests/inspector-protocol/network/resource-type.html#newcode25 LayoutTests/inspector-protocol/network/resource-type.html:25: if ("error" in ...
6 years, 11 months ago (2014-01-13 16:00:33 UTC) #10
pwnall-personal
Thank you for your feedback, Eugene! Can you please look at my question and advise ...
6 years, 11 months ago (2014-01-13 20:33:29 UTC) #11
eustas
lgtm You are right, testing at lower level here makes sense. Thank you for the ...
6 years, 11 months ago (2014-01-14 09:02:40 UTC) #12
philipj_slow
I don't understand what the new fetchMedia is for. Currently Chromium does the fetching of ...
6 years, 8 months ago (2014-04-01 07:03:37 UTC) #13
eseidel
Should this be CQ'd?
6 years, 8 months ago (2014-04-10 04:29:31 UTC) #14
pfeldman
lgtm I guess it was missing protocol.json owner. https://codereview.chromium.org/114123005/diff/760001/LayoutTests/inspector-protocol/network/resource-type.html File LayoutTests/inspector-protocol/network/resource-type.html (right): https://codereview.chromium.org/114123005/diff/760001/LayoutTests/inspector-protocol/network/resource-type.html#newcode19 LayoutTests/inspector-protocol/network/resource-type.html:19: InspectorTest.log("Test ...
6 years, 8 months ago (2014-04-10 05:00:22 UTC) #15
pwnall-personal
On 2014/04/10 05:00:22, pfeldman wrote: > lgtm > > I guess it was missing protocol.json ...
6 years, 8 months ago (2014-04-10 05:11:17 UTC) #16
pwnall-personal
https://codereview.chromium.org/114123005/diff/760001/LayoutTests/inspector-protocol/network/resource-type.html File LayoutTests/inspector-protocol/network/resource-type.html (right): https://codereview.chromium.org/114123005/diff/760001/LayoutTests/inspector-protocol/network/resource-type.html#newcode19 LayoutTests/inspector-protocol/network/resource-type.html:19: InspectorTest.log("Test started"); On 2014/04/10 05:00:23, pfeldman wrote: > nit: ...
6 years, 8 months ago (2014-04-10 12:55:54 UTC) #17
pfeldman
alright. feel free to CQ+ it.
6 years, 8 months ago (2014-04-10 13:04:43 UTC) #18
pwnall-personal
The CQ bit was checked by costan@gmail.com
6 years, 8 months ago (2014-04-10 13:32:25 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/costan@gmail.com/114123005/800001
6 years, 8 months ago (2014-04-10 13:32:33 UTC) #20
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 14:44:37 UTC) #21
Message was sent while issue was closed.
Change committed as 171279

Powered by Google App Engine
This is Rietveld 408576698