Bug 1113844 - Fix parameters in showInAboutDownloads call. r=mfinkle
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Mon, 22 Dec 2014 15:07:24 -0500
changeset 220924 86225c7d5bd0607b0688dba38da43fb84fd9fa79
parent 220923 9d54f4c91c31b7f902c15205e3439cd24b97c305
child 220925 7bbe830c1e88d3563c17c149a2b6377303725fef
push id28003
push userryanvm@gmail.com
push dateMon, 22 Dec 2014 22:44:16 +0000
treeherdermozilla-central@d5167dc0ded3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs1113844
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1113844 - Fix parameters in showInAboutDownloads call. r=mfinkle
mobile/android/modules/DownloadNotifications.jsm
--- a/mobile/android/modules/DownloadNotifications.jsm
+++ b/mobile/android/modules/DownloadNotifications.jsm
@@ -149,17 +149,17 @@ var DownloadNotifications = {
       if (download.succeeded) {
         // We don't call Download.launch(), because there's (currently) no way to
         // tell if the file was actually launched or not, and we want to show
         // about:downloads if the launch failed.
         let file = new FileUtils.File(download.target.path);
         try {
           file.launch();
         } catch (ex) {
-          this.showInAboutDownloads(id, download);
+          this.showInAboutDownloads(download);
         }
       } else {
         ConfirmCancelPrompt.show(download);
       }
     }).catch(Cu.reportError);
   },
 
   onButtonClick: function(button, cookie) {