mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1842971 removed dom.block_download_in_sandboxed_iframes r=emilio
There we go Differential Revision: https://phabricator.services.mozilla.com/D184241
This commit is contained in:
parent
9bbc02bf02
commit
bd2633f734
@ -1615,10 +1615,6 @@ long nsContentSecurityUtils::ClassifyDownload(
|
||||
return nsITransfer::DOWNLOAD_ACCEPTABLE;
|
||||
}
|
||||
|
||||
if (!StaticPrefs::dom_block_download_in_sandboxed_iframes()) {
|
||||
return nsITransfer::DOWNLOAD_ACCEPTABLE;
|
||||
}
|
||||
|
||||
uint32_t triggeringFlags = loadInfo->GetTriggeringSandboxFlags();
|
||||
uint32_t currentflags = loadInfo->GetSandboxFlags();
|
||||
|
||||
@ -1630,6 +1626,5 @@ long nsContentSecurityUtils::ClassifyDownload(
|
||||
}
|
||||
return nsITransfer::DOWNLOAD_FORBIDDEN;
|
||||
}
|
||||
|
||||
return nsITransfer::DOWNLOAD_ACCEPTABLE;
|
||||
}
|
||||
|
@ -2257,12 +2257,6 @@
|
||||
value: true
|
||||
mirror: always
|
||||
|
||||
# Block all downloads in iframes with the sandboxed attribute
|
||||
- name: dom.block_download_in_sandboxed_iframes
|
||||
type: bool
|
||||
value: true
|
||||
mirror: always
|
||||
|
||||
# Block multiple window.open() per single event.
|
||||
- name: dom.block_multiple_popups
|
||||
type: bool
|
||||
|
@ -1 +1 @@
|
||||
prefs: [dom.targetBlankNoOpener.enabled:false, dom.block_download_in_sandboxed_iframes:true ]
|
||||
prefs: [dom.targetBlankNoOpener.enabled:false]
|
||||
|
Loading…
Reference in New Issue
Block a user