mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-25 01:01:52 +00:00
Bug 827309 - AddrefAppId/ReleaseAppId just for the parent process, r=sicking
This commit is contained in:
parent
397ee6df66
commit
be2680e4c7
@ -2557,6 +2557,12 @@ nsFrameLoader::AttributeChanged(nsIDocument* aDocument,
|
||||
void
|
||||
nsFrameLoader::ResetPermissionManagerStatus()
|
||||
{
|
||||
// The resetting of the permissions status can run only
|
||||
// in the main process.
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Content) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Finding the new app Id:
|
||||
// . first we check if the owner is an app frame
|
||||
// . second, we check if the owner is a browser frame
|
||||
|
Loading…
Reference in New Issue
Block a user