mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1154277: Part 1 - allow to swap docShells on remote browsers that are not a child of a BrowserDOMWindow. r=smaug
This commit is contained in:
parent
2a07da30de
commit
6c7fdd37b9
@ -930,7 +930,7 @@ nsFrameLoader::SwapWithOtherRemoteLoader(nsFrameLoader* aOther,
|
||||
nsCOMPtr<nsIBrowserDOMWindow> browserDOMWindow =
|
||||
mRemoteBrowser->GetBrowserDOMWindow();
|
||||
|
||||
if (!otherBrowserDOMWindow || !browserDOMWindow) {
|
||||
if (!!otherBrowserDOMWindow != !!browserDOMWindow) {
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user