We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829c5a4 commit a77d9baCopy full SHA for a77d9ba
common/content/util.js
@@ -663,6 +663,9 @@ const Util = Module("util", {
663
try {
664
const clipboard = Cc["@mozilla.org/widget/clipboard;1"].getService(Ci.nsIClipboard);
665
const transferable = Cc["@mozilla.org/widget/transferable;1"].createInstance(Ci.nsITransferable);
666
+ if("init" in transferable) {
667
+ transferable.init(null);
668
+ }
669
670
transferable.addDataFlavor("text/unicode");
671
0 commit comments