Bug 1662189 - Enforce eval() restrictions on release r=freddyb,ckerschb

Differential Revision: https://phabricator.services.mozilla.com/D88882
This commit is contained in:
Tom Ritter 2020-09-02 20:49:04 +00:00
Родитель 7acc673838
Коммит d498aa5e16
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -556,13 +556,7 @@ bool nsContentSecurityUtils::IsEvalAllowed(JSContext* cx,
fileName.get(), trimmedScript.get());
#endif
#ifdef EARLY_BETA_OR_EARLIER
// Until we understand the events coming from release, we don't want to
// enforce eval restrictions on release. Limiting to Nightly and early beta.
return false;
#else
return true;
#endif
}
/* static */