mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 1401895 - Block top-level navigations to data: URIs. r=bz
This commit is contained in:
parent
c848c91be9
commit
9fe7e4ca2f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user