mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
parent
04b285b848
commit
75d698133f
22 changed files with 16 additions and 879 deletions
|
|
@ -1530,12 +1530,6 @@ nsPermissionManager::AddInternal(nsIPrincipal* aPrincipal,
|
|||
ContentParent::GetAll(cplist);
|
||||
for (uint32_t i = 0; i < cplist.Length(); ++i) {
|
||||
ContentParent* cp = cplist[i];
|
||||
// On platforms where we use a preallocated template process we don't
|
||||
// want to notify this process about session specific permissions so
|
||||
// new tabs or apps created on it won't inherit the session permissions.
|
||||
if (cp->IsPreallocated() &&
|
||||
aExpireType == nsIPermissionManager::EXPIRE_SESSION)
|
||||
continue;
|
||||
if (cp->NeedsPermissionsUpdate())
|
||||
Unused << cp->SendAddPermission(permission);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue