mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Issue #2402 - Optionally strictly enforce the MIME type of scripts loaded by importScripts(). https://bugzilla.mozilla.org/show_bug.cgi?id=1514680 This is default on in Firefox 67 but Moonchild requested it be set off by default.
This commit is contained in:
parent
b7abd4a127
commit
811bcbefd4
3 changed files with 34 additions and 22 deletions
|
|
@ -2202,6 +2202,9 @@ pref("security.sri.enable", true);
|
|||
// Block scripts with wrong MIME type such as image/ or video/.
|
||||
pref("security.block_script_with_wrong_mime", true);
|
||||
|
||||
// Block scripts with wrong MIME type when loading via importScripts() in workers.
|
||||
pref("security.block_importScripts_with_wrong_mime", false);
|
||||
|
||||
// Block images of wrong MIME for XCTO: nosniff.
|
||||
pref("security.xcto_nosniff_block_images", false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue