зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1696306: Fix javascriptLoad Telemetry r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D107169
This commit is contained in:
Родитель
53e685af65
Коммит
250cd8fa5d
|
@ -498,7 +498,7 @@ bool nsContentSecurityUtils::IsEvalAllowed(JSContext* cx,
|
|||
// DevEdition/Nightly.
|
||||
bool xpinstallSignatures;
|
||||
Preferences::GetBool("xpinstall.signatures.required", &xpinstallSignatures);
|
||||
if (xpinstallSignatures) {
|
||||
if (!xpinstallSignatures) {
|
||||
sJSHacksPresent = true;
|
||||
}
|
||||
|
||||
|
@ -1022,7 +1022,7 @@ bool nsContentSecurityUtils::ValidateScriptFilename(const char* aFilename,
|
|||
// DevEdition/Nightly.
|
||||
bool xpinstallSignatures;
|
||||
Preferences::GetBool("xpinstall.signatures.required", &xpinstallSignatures);
|
||||
if (xpinstallSignatures) {
|
||||
if (!xpinstallSignatures) {
|
||||
sJSHacksPresent = true;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче