mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 584864 - MessageManager's LoadFrameScript runs in Chrome windows [r=smaug]
This commit is contained in:
parent
6f8d9b52ca
commit
f23c2e8a5d
@ -1889,6 +1889,10 @@ nsFrameLoader::EnsureMessageManager()
|
||||
return rv;
|
||||
}
|
||||
|
||||
if (!mIsTopLevelContent && !mRemoteFrame) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (mMessageManager) {
|
||||
#ifdef MOZ_IPC
|
||||
if (ShouldUseRemoteProcess()) {
|
||||
|
Loading…
Reference in New Issue
Block a user