[PALEMOON] Bug 1135348 - Fix about:downloads by adding missing XPCOMUtils imports

pull/1/head
janekptacijarabaci 4 years ago committed by Roy Tam
parent 83ba13fdac
commit c80a76aaf0
  1. 2
      application/palemoon/components/downloads/content/allDownloadsViewOverlay.js
  2. 2
      application/palemoon/components/downloads/content/downloads.js

@ -4,6 +4,8 @@
var { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "DownloadUtils",
"resource://gre/modules/DownloadUtils.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "DownloadsCommon",

@ -6,6 +6,8 @@
var { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "DownloadsCommon",
"resource:///modules/DownloadsCommon.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "DownloadsViewUI",

Loading…
Cancel
Save