Bug 924098: Fixed mismatch in variable name |aReason| in allDownloadsViewOverlay.js, r=gijs
authorAbhishek Potnis <abhishekp.bugzilla@gmail.com>
Thu, 10 Oct 2013 22:09:00 +0200
changeset 150412 1ea7f580adf749287fdcf8c6a61c10bcd0dabe32
parent 150411 98b44fcfebb272a8513d5a65598d18c7e3e5d9ee
child 150440 fe160ec1e0ad4de44050fffdb6f187f885da085c
push id2992
push usergijskruitbosch@gmail.com
push dateFri, 11 Oct 2013 08:42:54 +0000
treeherderfx-team@1ea7f580adf7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs
bugs924098
milestone27.0a1
Bug 924098: Fixed mismatch in variable name |aReason| in allDownloadsViewOverlay.js, r=gijs
browser/components/downloads/content/allDownloadsViewOverlay.js
--- a/browser/components/downloads/content/allDownloadsViewOverlay.js
+++ b/browser/components/downloads/content/allDownloadsViewOverlay.js
@@ -254,17 +254,17 @@ DownloadElementShell.prototype = {
           this._metaData = null;
           this._updateDownloadStatusUI();
         }
         if (this._element.selected)
           goUpdateDownloadCommands();
       }.bind(this),
 
       function onFailure(aReason) {
-        if (reason instanceof OS.File.Error && reason.becauseNoSuchFile) {
+        if (aReason instanceof OS.File.Error && aReason.becauseNoSuchFile) {
           this._targetFileInfoFetched = true;
           this._targetFileExists = false;
         }
         else {
           Cu.reportError("Could not fetch info for target file (reason: " +
                          aReason + ")");
         }