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

Issue 960333002: Fix handling of media files in InspectorFileSystemAgent (Closed)

Created:
5 years, 10 months ago by servolk
Modified:
5 years, 4 months ago
CC:
blink-reviews, kinuko+fileapi, nhiroki, tzik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix handling of media files in InspectorFileSystemAgent Here is the piece of code that categorizes various file types: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/modules/filesystem/InspectorFileSystemAgent.cpp&rcl=1424812033&l=280 Note that it doesn't handle media (audio/video, e.g. "audio/mp3", "video/mp4" and so on) types explicitly. Currently MIMETypeRegistry::isSupportedNonImageMIMEType will return true for supported media types, and that will cause media files to be reported as ResourceType::Document and we'll do entryForFrontend->setIsTextFile(true) for media files as well. BUG=462329 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200949

Patch Set 1 #

Patch Set 2 : Use HTMLMediaElement::supportsType instead of MIMETypeRegistry #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M Source/modules/filesystem/InspectorFileSystemAgent.cpp View 1 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
servolk
PTAL, I think this is the right thing to do. By the way, are there ...
5 years, 10 months ago (2015-02-26 19:34:58 UTC) #2
michaeln
lgtm, it'd be good to cc some inspector folks on the change
5 years, 10 months ago (2015-02-26 21:54:11 UTC) #3
servolk
On 2015/02/26 21:54:11, michaeln wrote: > lgtm, it'd be good to cc some inspector folks ...
5 years, 10 months ago (2015-02-26 21:56:50 UTC) #4
michaeln
added pavel (pfeldman) > I've added everybody from Source/modules/filesystem/OWNERS on the review list, > should ...
5 years, 10 months ago (2015-02-26 23:33:50 UTC) #6
pfeldman
lgtm
5 years, 9 months ago (2015-03-02 12:45:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960333002/1
5 years, 9 months ago (2015-03-02 17:52:52 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_compile_rel/builds/28208)
5 years, 9 months ago (2015-03-02 18:19:52 UTC) #11
pfeldman
On 2015/03/02 18:19:52, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 7 months ago (2015-05-15 23:49:30 UTC) #12
servolk
On 2015/05/15 23:49:30, pfeldman_slow wrote: > On 2015/03/02 18:19:52, I haz the power (commit-bot) wrote: ...
5 years, 7 months ago (2015-05-16 01:20:46 UTC) #13
pfeldman
sg, there is no rush. I was just triaging my reviewer inbox. Please re-add me ...
5 years, 7 months ago (2015-05-17 01:41:03 UTC) #14
servolk
On 2015/05/17 01:41:03, pfeldman wrote: > sg, there is no rush. I was just triaging ...
5 years, 4 months ago (2015-08-14 23:45:07 UTC) #16
servolk
On 2015/08/14 23:45:07, servolk wrote: > On 2015/05/17 01:41:03, pfeldman wrote: > > sg, there ...
5 years, 4 months ago (2015-08-18 02:38:12 UTC) #17
servolk
On 2015/08/18 02:38:12, servolk wrote: > On 2015/08/14 23:45:07, servolk wrote: > > On 2015/05/17 ...
5 years, 4 months ago (2015-08-19 17:56:06 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960333002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/960333002/20001
5 years, 4 months ago (2015-08-20 16:47:45 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/58350)
5 years, 4 months ago (2015-08-20 22:57:22 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960333002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/960333002/20001
5 years, 4 months ago (2015-08-21 01:15:30 UTC) #25
commit-bot: I haz the power
5 years, 4 months ago (2015-08-21 02:01:38 UTC) #26
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200949

Powered by Google App Engine
This is Rietveld 408576698