Set the MIME type correctly when downloading fonts in debugger.js
(PR 5366 follow-up)
Because of a capitalization error, the MIME type wasn't actually being set correctly. However, please note that downloading of font files still worked correctly which is probably why this has gone unnoticed since 2014.
This commit is contained in:
parent
14e6d8a802
commit
7a89f4a789
@ -117,7 +117,7 @@ const FontInspector = (function FontInspectorClosure() {
|
||||
download.href = url[1];
|
||||
} else if (fontObj.data) {
|
||||
download.href = URL.createObjectURL(
|
||||
new Blob([fontObj.data], { type: fontObj.mimeType })
|
||||
new Blob([fontObj.data], { type: fontObj.mimetype })
|
||||
);
|
||||
}
|
||||
download.textContent = "Download";
|
||||
|
Loading…
x
Reference in New Issue
Block a user