diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 14:32:03 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 14:32:03 +0200 |
commit | b7d9dad58e5a3f87a6c767412941700bc8010044 (patch) | |
tree | f5e99b3029cf54409ae5951e9e91cca3a54addc7 /uriloader | |
parent | 73cdd6117df7c17b76aad93952cf574c494351aa (diff) | |
download | uxp-b7d9dad58e5a3f87a6c767412941700bc8010044.tar.gz |
Remove MOZ_B2G leftovers and some dead B2G-only components.
Diffstat (limited to 'uriloader')
-rw-r--r-- | uriloader/base/nsURILoader.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/uriloader/base/nsURILoader.cpp b/uriloader/base/nsURILoader.cpp index ea370aa37c..5a6b380285 100644 --- a/uriloader/base/nsURILoader.cpp +++ b/uriloader/base/nsURILoader.cpp @@ -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; |