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 Review URL: https://codereview.chromium.org/960333002 git-svn-id: svn://svn.chromium.org/blink/trunk@200949 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment