Bug 535103 - Thunderbird does not (offer to) remember authenticated proxy password. r+a=Standard8
authorIrving Reid <irving@mozilla.com>
Tue, 15 Nov 2011 17:13:33 -0500
changeset 9199 4bfc00a0d86a7bde01459c17c48e81ac72af58ec
parent 9198 5de7b954c1ebce523debba96b2257b01bb90c486
child 9200 91945160ae4f5fc36c89989fb0fa5a3cf29ca9b3
push id260
push userbugzilla@standard8.plus.com
push dateMon, 21 Nov 2011 12:33:04 +0000
treeherdercomm-aurora@a5b1789406ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs535103
Bug 535103 - Thunderbird does not (offer to) remember authenticated proxy password. r+a=Standard8
mail/base/content/mailWindow.js
--- a/mail/base/content/mailWindow.js
+++ b/mail/base/content/mailWindow.js
@@ -512,17 +512,17 @@ function getNotificationBox(aWindow) {
   var tabmail = document.getElementById("tabmail");
   var tabInfo = tabmail.tabInfo;
 
   for (var i = 0; i < tabInfo.length; ++i) {
     var browserFunc = tabInfo[i].mode.getBrowser ||
                       tabInfo[i].mode.tabType.getBrowser;
     if (browserFunc) {
       var possBrowser = browserFunc.call(tabInfo[i].mode.tabType, tabInfo[i]);
-      if (possBrowser && possBrowser.contentWindow == aWindow)
+      if (possBrowser && possBrowser.contentWindow == aWindow && possBrowser.parentNode.tagName == "notificationbox")
         return possBrowser.parentNode;
     }
   }
   return null;
 }
 
 // Given the server, open the twisty and the set the selection
 // on inbox of that server.