зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1527882 - Enable the blocking of external protocol URLs in iframes, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19778 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
88995bd9cf
Коммит
1da0bf15d3
|
@ -472,17 +472,11 @@ VARCACHE_PREF(
|
|||
)
|
||||
|
||||
// Block multiple external protocol URLs in iframes per single event.
|
||||
#ifdef NIGHTLY_BUILD
|
||||
#define PREF_VALUE true
|
||||
#else
|
||||
#define PREF_VALUE false
|
||||
#endif
|
||||
VARCACHE_PREF(
|
||||
"dom.block_external_protocol_in_iframes",
|
||||
dom_block_external_protocol_in_iframes,
|
||||
bool, PREF_VALUE
|
||||
bool, true
|
||||
)
|
||||
#undef PREF_VALUE
|
||||
|
||||
// Any how many seconds we allow external protocol URLs in iframe when not in
|
||||
// single events
|
||||
|
|
Загрузка…
Ссылка в новой задаче