summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/downloads/content/downloadsViewCommon.js
diff options
context:
space:
mode:
Diffstat (limited to 'application/palemoon/components/downloads/content/downloadsViewCommon.js')
-rw-r--r--application/palemoon/components/downloads/content/downloadsViewCommon.js14
1 files changed, 2 insertions, 12 deletions
diff --git a/application/palemoon/components/downloads/content/downloadsViewCommon.js b/application/palemoon/components/downloads/content/downloadsViewCommon.js
index 7d18eadc6..9ef492764 100644
--- a/application/palemoon/components/downloads/content/downloadsViewCommon.js
+++ b/application/palemoon/components/downloads/content/downloadsViewCommon.js
@@ -45,7 +45,8 @@ XPCOMUtils.defineLazyModuleGetter(this, "Task",
* from the JavaScript API for downloads, and commands are executed using a
* combination of Download methods and DownloadsCommon.jsm helper functions.
*
- * Specialized versions of this shell must be defined, currently they are the
+ * Specialized versions of this shell must be defined, and they are required to
+ * implement the "download" property or getter. Currently these objects are the
* HistoryDownloadElementShell and the DownloadsViewItem for the panel. The
* history view may use a HistoryDownload object in place of a Download object.
*/
@@ -58,17 +59,6 @@ DownloadElementShell.prototype = {
element: null,
/**
- * The DownloadsDataItem for the download, overridden by the derived object.
- */
- dataItem: null,
-
- /**
- * Download or HistoryDownload object to use for displaying information and
- * for executing commands in the user interface.
- */
- get download() this.dataItem.download,
-
- /**
* URI string for the file type icon displayed in the download element.
*/
get image() {