Bug 394228 - Downloading files can randomly fail. r=mano
authorsdwilsh@shawnwilsher.com
Wed, 29 Aug 2007 18:51:12 -0700
changeset 5449 9cec724815fc38c1145ab82321218b4a7c37d68a
parent 5448 73c1dbaff71b383a59e7b3c92ac6835df52b82d7
child 5450 e1e34947bd54ddc5b854069167ce07ff7089cf30
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmano
bugs394228
milestone1.9a8pre
Bug 394228 - Downloading files can randomly fail. r=mano
toolkit/components/downloads/src/nsDownloadManagerUI.js
--- a/toolkit/components/downloads/src/nsDownloadManagerUI.js
+++ b/toolkit/components/downloads/src/nsDownloadManagerUI.js
@@ -96,17 +96,17 @@ nsDownloadManagerUI.prototype = {
   {
     if (!this.visible)
       throw Cr.NS_ERROR_UNEXPECTED;
 
     var prefs = Cc["@mozilla.org/preferences-service;1"].
                 getService(Ci.nsIPrefBranch);
     var flashCount = prefs.getIntPref(PREF_FLASH_COUNT);
 
-    var win = this.recentWindow.QueryInteface(Ci.nsIDOMChromeWindow);
+    var win = this.recentWindow.QueryInterface(Ci.nsIDOMChromeWindow);
     win.getAttentionWithCycleCount(flashCount);
   },
 
   //////////////////////////////////////////////////////////////////////////////
   //// nsDownloadManagerUI
 
   get recentWindow() {
     var wm = Cc["@mozilla.org/appshell/window-mediator;1"].