зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1513101 - re-add L section for HANDLES_DUP_BROKER to RDD Win sanbox to fix mochitest crashes. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D14109 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
b9ed68e0c6
Коммит
d385314704
|
@ -753,6 +753,16 @@ bool SandboxBroker::SetSecurityLevelForRDDProcess() {
|
||||||
result,
|
result,
|
||||||
"With these static arguments AddRule should never fail, what happened?");
|
"With these static arguments AddRule should never fail, what happened?");
|
||||||
|
|
||||||
|
// This section is needed to avoid an assert during crash reporting code
|
||||||
|
// when running mochitests. The assertion is here:
|
||||||
|
// toolkit/crashreporter/nsExceptionHandler.cpp:2041
|
||||||
|
result =
|
||||||
|
mPolicy->AddRule(sandbox::TargetPolicy::SUBSYS_HANDLES,
|
||||||
|
sandbox::TargetPolicy::HANDLES_DUP_BROKER, L"Section");
|
||||||
|
SANDBOX_ENSURE_SUCCESS(
|
||||||
|
result,
|
||||||
|
"With these static arguments AddRule should never fail, what happened?");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче