Bug 1401895 - Block top-level navigations to data: URIs. r=bz

This commit is contained in:
Christoph Kerschbaumer 2017-11-13 21:22:59 +01:00
parent c848c91be9
commit 9fe7e4ca2f

View File

@ -5813,14 +5813,10 @@ pref("security.mixed_content.hsts_priming_request_timeout", 2000);
// behavior of Firefox.
pref("security.data_uri.unique_opaque_origin", true);
#ifdef EARLY_BETA_OR_EARLIER
// 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", true);
#else
pref("security.data_uri.block_toplevel_data_uri_navigations", false);
#endif
// Enable Storage API for all platforms except Android.
#if !defined(MOZ_WIDGET_ANDROID)