 Chromium Code Reviews
 Chromium Code Reviews Issue 18308003:
  Liberal acceptance of webfont mimetypes  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink@master
    
  
    Issue 18308003:
  Liberal acceptance of webfont mimetypes  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink@master| 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}, |