Bug 634974 - JavaScript strict warning: chrome://browser/content/tabview.js, line 3274: anonymous function does not always return a value [r=ian, a=beltzner]
authorPhilipp Wagner <mail@philipp-wagner.com>
Tue, 22 Feb 2011 16:06:22 -0500
changeset 63005 27ab44a83e3e6a57564516f3d70c59815bcf562a
parent 63004 3c68f42b4682e87df86c30bdad984f53f6d7b926
child 63006 4e6809c053cdf1175bff043291f30d8e16c843be
push id18987
push usershaver@mozilla.com
push dateWed, 23 Feb 2011 18:50:13 +0000
treeherdermozilla-central@41297d3b8511 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersian, beltzner
bugs634974
milestone2.0b13pre
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 634974 - JavaScript strict warning: chrome://browser/content/tabview.js, line 3274: anonymous function does not always return a value [r=ian, a=beltzner]
browser/base/content/tabview/groupitems.js
--- a/browser/base/content/tabview/groupitems.js
+++ b/browser/base/content/tabview/groupitems.js
@@ -1121,17 +1121,16 @@ GroupItem.prototype = Utils.extend(new I
   
   // ----------
   // Handles error event for loading app tab's fav icon.
   _onAppTabError : function(event) {
     iQ(".appTabIcon", this.$appTabTray).each(function(icon) {
       let $icon = iQ(icon);
       if ($icon.data("xulTab") == event.target) {
         $icon.attr("src", Utils.defaultFaviconURL);
-        return true;
       }
     });
   },
 
   // ----------
   // Adds the given xul:tab as an app tab in this group's apptab tray
   //
   // Parameters: