зеркало из https://github.com/mozilla/gecko-dev.git
Bug 584864 - MessageManager's LoadFrameScript runs in Chrome windows, r=smaug
This commit is contained in:
Родитель
68fc3f3056
Коммит
09131e1a90
|
@ -1888,6 +1888,11 @@ nsFrameLoader::EnsureMessageManager()
|
|||
if (NS_FAILED(rv)) {
|
||||
return rv;
|
||||
}
|
||||
|
||||
if (!mIsTopLevelContent) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (mMessageManager) {
|
||||
#ifdef MOZ_IPC
|
||||
if (ShouldUseRemoteProcess()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче