mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 740389 - Clean up openTopWin and mark it as deprecated. r=gavin
This commit is contained in:
parent
2ca933d909
commit
75c0465628
@ -2306,7 +2306,7 @@ function BrowserOpenFileWindow()
|
||||
gLastOpenDirectory.path = fp.file.parent.QueryInterface(Ci.nsILocalFile);
|
||||
} catch(e) {
|
||||
}
|
||||
openTopWin(fp.fileURL.spec);
|
||||
openUILinkIn(fp.fileURL.spec, "current");
|
||||
}
|
||||
} catch (ex) {
|
||||
}
|
||||
|
@ -95,9 +95,9 @@ function getTopWin(skipPopups) {
|
||||
return Services.wm.getMostRecentWindow("navigator:browser");
|
||||
}
|
||||
|
||||
function openTopWin( url )
|
||||
{
|
||||
openUILink(url, {})
|
||||
function openTopWin(url) {
|
||||
/* deprecated */
|
||||
openUILinkIn(url, "current");
|
||||
}
|
||||
|
||||
function getBoolPref(prefname, def)
|
||||
|
Loading…
Reference in New Issue
Block a user