Bug 584864 - MessageManager's LoadFrameScript runs in Chrome windows [r=smaug]

This commit is contained in:
Mark Finkle 2010-08-10 11:10:22 -04:00
parent 6f8d9b52ca
commit f23c2e8a5d

View File

@ -1889,6 +1889,10 @@ nsFrameLoader::EnsureMessageManager()
return rv;
}
if (!mIsTopLevelContent && !mRemoteFrame) {
return NS_OK;
}
if (mMessageManager) {
#ifdef MOZ_IPC
if (ShouldUseRemoteProcess()) {