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

Unified Diff: Source/devtools/front_end/NetworkManager.js

Issue 114123005: Show media and VTT text tracks in the devtools. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed feedback. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/loader/TextTrackLoader.cpp ('k') | Source/devtools/front_end/ResourceType.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/NetworkManager.js
diff --git a/Source/devtools/front_end/NetworkManager.js b/Source/devtools/front_end/NetworkManager.js
index 5be1708ef694b4ec587376647ad33e8541a83812..b32e82d4a05bf9b1ac201ccd28aaeb2dc4c302ac 100644
--- a/Source/devtools/front_end/NetworkManager.js
+++ b/Source/devtools/front_end/NetworkManager.js
@@ -96,6 +96,7 @@ WebInspector.NetworkManager._MIMETypes = {
"text/javascript1.3": {"script": true},
"text/jscript": {"script": true},
"text/livescript": {"script": true},
+ "text/vtt": {"texttrack": true},
}
WebInspector.NetworkManager.prototype = {
@@ -219,6 +220,7 @@ WebInspector.NetworkDispatcher.prototype = {
if (typeof networkRequest.type === "undefined"
|| networkRequest.type === WebInspector.resourceTypes.Other
+ || networkRequest.type === WebInspector.resourceTypes.Media
|| networkRequest.type === WebInspector.resourceTypes.XHR
|| networkRequest.type === WebInspector.resourceTypes.WebSocket)
return true;
« no previous file with comments | « Source/core/loader/TextTrackLoader.cpp ('k') | Source/devtools/front_end/ResourceType.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698