Remove MOZ_B2G leftovers and some dead B2G-only components.

This commit is contained in:
wolfbeast 2018-05-12 14:32:03 +02:00 committed by Roy Tam
commit 719ac1bc38
91 changed files with 28 additions and 5017 deletions

View file

@ -385,16 +385,6 @@ nsresult nsDocumentOpenInfo::DispatchContent(nsIRequest *request, nsISupports *
bool allowContentDispositionToForceExternalHandling = true;
#ifdef MOZ_B2G
// On B2G, OMA content files should never be handled by an external handler
// (even if the server specifies Content-Disposition: attachment) because the
// data should never be stored on an unencrypted form.
allowContentDispositionToForceExternalHandling =
!mContentType.LowerCaseEqualsASCII("application/vnd.oma.drm.message");
#endif
if (NS_SUCCEEDED(rv) && (disposition == nsIChannel::DISPOSITION_ATTACHMENT) &&
allowContentDispositionToForceExternalHandling) {
forceExternalHandling = true;