Backed out changeset 40c5d3600d35 (bug 1455737) for breaking DownloadHistoryList. a=backout

--HG--
extra : rebase_source : ebb793b3cc4864593d18df1a1b69cc74df0cf2af
This commit is contained in:
Paolo Amadini 2018-04-21 11:12:55 +01:00
Родитель f790d1c4cb
Коммит a904515b3e
1 изменённых файлов: 0 добавлений и 11 удалений

Просмотреть файл

@ -454,17 +454,6 @@ this.DownloadHistoryList.prototype = {
},
_result: null,
/**
* Remove the view that belongs to this list via DownloadList's removeView. In
* addition, delete the result object to ensure there are no memory leaks.
*/
removeView(aView) {
DownloadList.prototype.removeView.call(this, aView);
// Clean up any active results that might still be observing. See bug 1455737
this.result = null;
},
/**
* Index of the first slot that contains a session download. This is equal to
* the length of the list when there are no session downloads.