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 | 3da5a32ca494a05beeedb50baf34a783435e9d83 (patch) | |
tree | f5e99b3029cf54409ae5951e9e91cca3a54addc7 /uriloader | |
parent | b6be8d844087c366b8b2836418dacf893308808f (diff) | |
download | aura-central-3da5a32ca494a05beeedb50baf34a783435e9d83.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 ea370aa37..5a6b38028 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; |