Bug 551727 Work around bogus XPConnect assertion r=Callek irc-f=mrbkap
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Thu, 29 Apr 2010 00:25:14 +0100
changeset 5546 cbb67232177d1263df332906bd17d8f942284943
parent 5545 d053363b9ca7e5714a00e4ed9566721728035516
child 5547 8d6f4763c863bc5e293c732f2a39377dabce9fcb
push idunknown
push userunknown
push dateunknown
reviewersCallek
bugs551727
Bug 551727 Work around bogus XPConnect assertion r=Callek irc-f=mrbkap
suite/browser/test/mochitest/feed_discovery.html
--- a/suite/browser/test/mochitest/feed_discovery.html
+++ b/suite/browser/test/mochitest/feed_discovery.html
@@ -84,17 +84,17 @@ https://bugzilla.mozilla.org/show_bug.cg
 
         var discovered = browserSH.feeds;
         tests.push({ check: discovered.length > 0,
                      message: "some feeds should be discovered" });
 
         var feeds = [];
 
         for each (var aFeed in discovered) {
-          feeds[aFeed.href] = true;
+          feeds[XPCNativeWrapper.unwrap(aFeed).href] = true;
         }
 
         for each (var aLink in document.getElementsByTagName("link")) {
           // ignore real stylesheets, and anything without an href property
           if (aLink.type != "text/css" && aLink.href) {
             if (/bogus/i.test(aLink.title)) {
               tests.push({ check: !feeds[aLink.href], todo: /todo/i.test(aLink.title),
                            message: "don't discover " + aLink.href });