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

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

Issue 922213004: DevTools: Ignore mimetype mismatch for Image, Script, StyleSheet (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/NetworkManager.js
diff --git a/Source/devtools/front_end/sdk/NetworkManager.js b/Source/devtools/front_end/sdk/NetworkManager.js
index 0be79379ee67b4d23c38daae2ba683e6723e5f73..5c60f626cfdbe3bbd4d4760012c5156877835796 100644
--- a/Source/devtools/front_end/sdk/NetworkManager.js
+++ b/Source/devtools/front_end/sdk/NetworkManager.js
@@ -266,8 +266,11 @@ WebInspector.NetworkDispatcher.prototype = {
var resourceType = networkRequest.resourceType();
if (resourceType === undefined
+ || resourceType === WebInspector.resourceTypes.Image
eustas 2015/02/24 05:59:21 If we exclude all those types only three remain. S
|| resourceType === WebInspector.resourceTypes.Other
|| resourceType === WebInspector.resourceTypes.Media
+ || resourceType === WebInspector.resourceTypes.Script
+ || resourceType === WebInspector.resourceTypes.Stylesheet
|| resourceType === WebInspector.resourceTypes.XHR
|| resourceType === WebInspector.resourceTypes.WebSocket)
return true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698