mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 718499 - Save as PDF saves content from the wrong tab. r=mfinkle
This commit is contained in:
parent
ccd0b9b1a7
commit
5cbd100b34
@ -556,7 +556,8 @@ var BrowserApp = {
|
||||
let ms = Cc["@mozilla.org/mime;1"].getService(Ci.nsIMIMEService);
|
||||
let mimeInfo = ms.getFromTypeAndExtension("application/pdf", "pdf");
|
||||
|
||||
let webBrowserPrint = content.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIWebBrowserPrint);
|
||||
let webBrowserPrint = aBrowser.contentWindow.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIWebBrowserPrint);
|
||||
|
||||
let cancelable = {
|
||||
cancel: function (aReason) {
|
||||
|
Loading…
Reference in New Issue
Block a user