зеркало из https://github.com/mozilla/pjs.git
Bug 413299 - applications are application/octet-stream, not application/object-stream, r=mscott
This commit is contained in:
Родитель
8ad2310659
Коммит
6021d5b003
|
@ -100,7 +100,7 @@ var gChangeActionDialog = {
|
|||
// We don't let users open .exe files or random binary data directly
|
||||
// from the browser at the moment because of security concerns.
|
||||
var mimeType = this._item.mimeInfo.MIMEType;
|
||||
if (mimeType == "application/object-stream" ||
|
||||
if (mimeType == "application/octet-stream" ||
|
||||
mimeType == "application/x-msdownload") {
|
||||
document.getElementById("openApplication").disabled = true;
|
||||
document.getElementById("openDefault").disabled = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче