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

This commit is contained in:
azakai@mozilla.com 2010-08-08 14:28:02 +03:00
parent af7482611c
commit 86fc2b0a40

View File

@ -1888,6 +1888,11 @@ nsFrameLoader::EnsureMessageManager()
if (NS_FAILED(rv)) {
return rv;
}
if (!mIsTopLevelContent) {
return NS_OK;
}
if (mMessageManager) {
#ifdef MOZ_IPC
if (ShouldUseRemoteProcess()) {