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

Side by Side 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, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "image/pjpeg": {"image": true}, 63 "image/pjpeg": {"image": true},
64 "image/png": {"image": true}, 64 "image/png": {"image": true},
65 "image/gif": {"image": true}, 65 "image/gif": {"image": true},
66 "image/bmp": {"image": true}, 66 "image/bmp": {"image": true},
67 "image/svg+xml": {"image": true, "font": true, "document": tru e}, 67 "image/svg+xml": {"image": true, "font": true, "document": tru e},
68 "image/vnd.microsoft.icon": {"image": true}, 68 "image/vnd.microsoft.icon": {"image": true},
69 "image/webp": {"image": true}, 69 "image/webp": {"image": true},
70 "image/x-icon": {"image": true}, 70 "image/x-icon": {"image": true},
71 "image/x-xbitmap": {"image": true}, 71 "image/x-xbitmap": {"image": true},
72 "font/ttf": {"font": true}, 72 "font/ttf": {"font": true},
73 "font/otf": {"font": true},
74 "font/woff": {"font": true},
75 "font/woff2": {"font": true},
76 "font/truetype": {"font": true},
73 "font/opentype": {"font": true}, 77 "font/opentype": {"font": true},
78 "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
74 "application/font-woff": {"font": true}, 79 "application/font-woff": {"font": true},
80 "application/x-font-woff": {"font": true},
75 "application/x-font-type1": {"font": true}, 81 "application/x-font-type1": {"font": true},
76 "application/x-font-ttf": {"font": true}, 82 "application/x-font-ttf": {"font": true},
77 "application/x-truetype-font": {"font": true}, 83 "application/x-truetype-font": {"font": true},
78 "text/javascript": {"script": true}, 84 "text/javascript": {"script": true},
79 "text/ecmascript": {"script": true}, 85 "text/ecmascript": {"script": true},
80 "application/javascript": {"script": true}, 86 "application/javascript": {"script": true},
81 "application/ecmascript": {"script": true}, 87 "application/ecmascript": {"script": true},
82 "application/x-javascript": {"script": true}, 88 "application/x-javascript": {"script": true},
83 "application/json": {"script": true}, 89 "application/json": {"script": true},
84 "text/javascript1.1": {"script": true}, 90 "text/javascript1.1": {"script": true},
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 var networkRequest = new WebInspector.NetworkRequest(requestId, url, doc umentURL, frameId, loaderId); 581 var networkRequest = new WebInspector.NetworkRequest(requestId, url, doc umentURL, frameId, loaderId);
576 networkRequest.initiator = initiator; 582 networkRequest.initiator = initiator;
577 return networkRequest; 583 return networkRequest;
578 } 584 }
579 } 585 }
580 586
581 /** 587 /**
582 * @type {?WebInspector.NetworkManager} 588 * @type {?WebInspector.NetworkManager}
583 */ 589 */
584 WebInspector.networkManager = null; 590 WebInspector.networkManager = null;
OLDNEW
« 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