зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - disabled by default, r=me
This commit is contained in:
Родитель
6656936b32
Коммит
c4423c6d0c
|
@ -453,18 +453,14 @@ VARCACHE_PREF(
|
|||
)
|
||||
|
||||
// For area and anchor elements with target=_blank and no rel set to
|
||||
// opener/noopener, this pref sets noopener by default.
|
||||
#ifdef EARLY_BETA_OR_EARLIER
|
||||
// opener/noopener.
|
||||
#define PREF_VALUE false
|
||||
#else
|
||||
#define PREF_VALUE true
|
||||
#endif
|
||||
VARCACHE_PREF(
|
||||
"dom.targetBlankNoOpener.enabled",
|
||||
dom_targetBlankNoOpener_enabled,
|
||||
bool, PREF_VALUE
|
||||
bool, false
|
||||
)
|
||||
#undef PREF_VALUE
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Clear-Site-Data prefs
|
||||
|
|
Загрузка…
Ссылка в новой задаче