Deactivate extension based type checking for Gecko 1.8.
This commit is contained in:
parent
ca3b37c660
commit
6dc536058b
@ -86,6 +86,7 @@ GeckoDownload::OnStateChange(nsIWebProgress *aWebProgress,
|
|||||||
mMIMEInfo->GetMIMEType(mimeType);
|
mMIMEInfo->GetMIMEType(mimeType);
|
||||||
mSource->GetSpec(url);
|
mSource->GetSpec(url);
|
||||||
|
|
||||||
|
#ifdef HAVE_GECKO_1_9
|
||||||
/* If the file is application/octet-stream, look up a better mime type
|
/* If the file is application/octet-stream, look up a better mime type
|
||||||
from the extension. */
|
from the extension. */
|
||||||
if(mimeType.Equals(APPLICATION_OCTET_STREAM)) {
|
if(mimeType.Equals(APPLICATION_OCTET_STREAM)) {
|
||||||
@ -105,6 +106,7 @@ GeckoDownload::OnStateChange(nsIWebProgress *aWebProgress,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
sugar_download_manager_download_started(download_manager,
|
sugar_download_manager_download_started(download_manager,
|
||||||
url.get(),
|
url.get(),
|
||||||
|
Loading…
Reference in New Issue
Block a user