Bug 1069819 - fix ReferenceError about let changes in feed-parser.js. r+a=Standard8
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 19 Sep 2014 21:45:13 +0200
changeset 25612 26dc15bce34bfa6e78691c5baf7843eae1401a21
parent 25611 3c4eaadf0fddbb64103b93e0d38f481864bfe212
child 25613 3486444fb64545a28df03b9bbee9a9b5b6f732a2
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1069819
Bug 1069819 - fix ReferenceError about let changes in feed-parser.js. r+a=Standard8 a=IanN/Ratty for SeaMonkey relbranch comm-release on CLOSED TREE
mailnews/extensions/newsblog/content/feed-parser.js
--- a/mailnews/extensions/newsblog/content/feed-parser.js
+++ b/mailnews/extensions/newsblog/content/feed-parser.js
@@ -267,17 +267,17 @@ FeedParser.prototype =
       {
         if (item.enclosures.length)
           item.enclosures[0].mURL = origEncUrl;
         else
           item.enclosures.push(new FeedEnclosure(origEncUrl));
       }
 
       // Support <category> and autotagging.
-      let tags = this.childrenByTagNameNS(itemNode, nsURI, "category");
+      tags = this.childrenByTagNameNS(itemNode, nsURI, "category");
       if (tags)
       {
         for (let tag of tags)
         {
           let term = this.getNodeValue(tag);
           term = term ? this.xmlUnescape(term.replace(",", ";")) : null;
           if (term && item.keywords.indexOf(term) == -1)
             item.keywords.push(term);