mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1072980 - Don't pass document CPOW to context menu (r=ally)
This commit is contained in:
parent
85e73d3dc5
commit
9a33dcc272
@ -1067,7 +1067,7 @@ nsContextMenu.prototype = {
|
||||
mm.removeMessageListener("ContextMenu:SaveVideoFrameAsImage:Result", onMessage);
|
||||
let dataURL = message.data.dataURL;
|
||||
saveImageURL(dataURL, name, "SaveImageTitle", true, false,
|
||||
document.documentURIObject, this.target.ownerDocument);
|
||||
document.documentURIObject, document);
|
||||
};
|
||||
mm.addMessageListener("ContextMenu:SaveVideoFrameAsImage:Result", onMessage);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user