Bug 792735 Followup to fix error adding failed favicon r=IanN a=IanN
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Wed, 31 Oct 2012 20:16:30 +0000
changeset 13528 cb6d8a94c6101d5dc5f11c641fc923a22ad02114
parent 13525 fde1dd72ce098b529758c0618ed7a7043830c801
child 13529 2ccb24c2d876f08ef45388dde4f656bd9a4f9d1b
push idunknown
push userunknown
push dateunknown
reviewersIanN, IanN
bugs792735
Bug 792735 Followup to fix error adding failed favicon r=IanN a=IanN
suite/browser/tabbrowser.xml
--- a/suite/browser/tabbrowser.xml
+++ b/suite/browser/tabbrowser.xml
@@ -783,18 +783,20 @@
           ]]>
         </body>
       </method>
 
       <method name="addToMissedIconCache">
         <parameter name="aURI"/>
         <body>
           <![CDATA[
-            if (this.mFaviconService)
-              this.mFaviconService.addFailedFavicon(aURI);
+            if (this.mFaviconService) {
+              let uri = this.mIOService.newURI(iconURL, null, null);
+              this.mFaviconService.addFailedFavicon(uri);
+            }
           ]]>
         </body>
       </method>
 
       <method name="getTitleForURI">
         <parameter name="aURI"/>
         <body>
           <![CDATA[