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
Родитель 68fc3f3056
Коммит 09131e1a90
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

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