mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 584864 - MessageManager's LoadFrameScript runs in Chrome windows, r=smaug
This commit is contained in:
parent
af7482611c
commit
86fc2b0a40
@ -1888,6 +1888,11 @@ nsFrameLoader::EnsureMessageManager()
|
|||||||
if (NS_FAILED(rv)) {
|
if (NS_FAILED(rv)) {
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!mIsTopLevelContent) {
|
||||||
|
return NS_OK;
|
||||||
|
}
|
||||||
|
|
||||||
if (mMessageManager) {
|
if (mMessageManager) {
|
||||||
#ifdef MOZ_IPC
|
#ifdef MOZ_IPC
|
||||||
if (ShouldUseRemoteProcess()) {
|
if (ShouldUseRemoteProcess()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user