mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 712761 - Fix returning incorrect object from openURI. r=dougt
This commit is contained in:
parent
04636147ad
commit
bcd4e87f25
@ -1175,7 +1175,7 @@ nsBrowserAccess.prototype = {
|
||||
|
||||
openURI: function browser_openURI(aURI, aOpener, aWhere, aContext) {
|
||||
let browser = this._getBrowser(aURI, aOpener, aWhere, aContext);
|
||||
return browser ? browser.QueryInterface(Ci.nsIFrameLoaderOwner) : null;
|
||||
return browser ? browser.contentWindow : null;
|
||||
},
|
||||
|
||||
openURIInFrame: function browser_openURIInFrame(aURI, aOpener, aWhere, aContext) {
|
||||
|
Loading…
Reference in New Issue
Block a user