mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Remove MOZ_B2G leftovers and some dead B2G-only components.
This commit is contained in:
parent
75d98fd33e
commit
719ac1bc38
91 changed files with 28 additions and 5017 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue