mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 927568 - fix misplaced null check in marionette-server.js, r=mdas
This commit is contained in:
parent
deed89ed73
commit
35558e8e7d
@ -2181,7 +2181,7 @@ MarionetteServerConnection.prototype = {
|
||||
Services.wm.getOuterWindowWithId(message.json.value);
|
||||
|
||||
//go in here if we're already in a remote frame.
|
||||
if (!listenerWindow || (listenerWindow.location.href != message.json.href) &&
|
||||
if ((!listenerWindow || listenerWindow.location.href != message.json.href) &&
|
||||
(this.curBrowser.frameManager.currentRemoteFrame !== null)) {
|
||||
// The outerWindowID from an OOP frame will not be meaningful to
|
||||
// the parent process here, since each process maintains its own
|
||||
|
Loading…
Reference in New Issue
Block a user