summaryrefslogtreecommitdiffstats
path: root/modules/libpref
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-30 12:55:30 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-30 12:55:30 +0200
commite1084c8b24f9edda1d40b95d0089edf589da482d (patch)
tree6d2ae8b6354af4d1afe0c2e35fbc39bdfc573651 /modules/libpref
parent9f6194d00034f0bd67d2b8c97fd26586d2a7a9ed (diff)
downloadUXP-e1084c8b24f9edda1d40b95d0089edf589da482d.tar
UXP-e1084c8b24f9edda1d40b95d0089edf589da482d.tar.gz
UXP-e1084c8b24f9edda1d40b95d0089edf589da482d.tar.lz
UXP-e1084c8b24f9edda1d40b95d0089edf589da482d.tar.xz
UXP-e1084c8b24f9edda1d40b95d0089edf589da482d.zip
Enable blocking of top-level data: navigation.
Diffstat (limited to 'modules/libpref')
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 4fdc2676a..6f31cb8cc 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5437,11 +5437,11 @@ pref("media.block-autoplay-until-in-foreground", false);
pref("layout.css.servo.enabled", true);
#endif
-// TODO: Bug 1380959: Block toplevel data: URI navigations
+// Block toplevel data: URI navigations
// If true, all toplevel data: URI navigations will be blocked.
// Please note that manually entering a data: URI in the
// URL-Bar will not be blocked when flipping this pref.
-pref("security.data_uri.block_toplevel_data_uri_navigations", false);
+pref("security.data_uri.block_toplevel_data_uri_navigations", true);
// Disable Storage api in release builds.
#ifdef NIGHTLY_BUILD