зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1384399 - Change meaning of js::SystemZoneAvailable to return false if the system zone is owned by the current context (r=bhackett)
MozReview-Commit-ID: L8FUk997x4s
This commit is contained in:
Родитель
fdfaf11df6
Коммит
7f587bde20
|
@ -1500,5 +1500,5 @@ JS_FRIEND_API(bool)
|
|||
js::SystemZoneAvailable(JSContext* cx)
|
||||
{
|
||||
CooperatingContext& owner = cx->runtime()->gc.systemZoneGroup->ownerContext();
|
||||
return owner.context() == cx || owner.context() == nullptr;
|
||||
return owner.context() == nullptr;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче