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

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

Issue 18308003: Liberal acceptance of webfont mimetypes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 6 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/NetworkManager.js
diff --git a/Source/devtools/front_end/NetworkManager.js b/Source/devtools/front_end/NetworkManager.js
index c88333fb54accf76be77cb19a5d0861ed252eee5..6235978d553989ab789e0010be42096ec98f5998 100644
--- a/Source/devtools/front_end/NetworkManager.js
+++ b/Source/devtools/front_end/NetworkManager.js
@@ -70,8 +70,14 @@ WebInspector.NetworkManager._MIMETypes = {
"image/x-icon": {"image": true},
"image/x-xbitmap": {"image": true},
"font/ttf": {"font": true},
+ "font/otf": {"font": true},
+ "font/woff": {"font": true},
+ "font/woff2": {"font": true},
+ "font/truetype": {"font": true},
"font/opentype": {"font": true},
+ "application/octet-stream": {"font": true},
aandrey 2013/07/01 10:53:35 This mime indicates an arbitrary binary data, that
Dmitry Zvorygin 2013/07/01 11:34:59 {"font":true} just means that it's ok for font bei
"application/font-woff": {"font": true},
+ "application/x-font-woff": {"font": true},
"application/x-font-type1": {"font": true},
"application/x-font-ttf": {"font": true},
"application/x-truetype-font": {"font": 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