From a73a6015a89dc6e57c9718a42d54fa476ed11cfb Mon Sep 17 00:00:00 2001 From: Mark Banner Date: Fri, 26 Jan 2018 16:23:04 +0000 Subject: [PATCH] Bug 1433492 - Fix a missed callback to .then conversion causing RSS feeds to not show their read/unread status properly after a restart. r=mak MozReview-Commit-ID: 3iG8JbyGJul --HG-- extra : rebase_source : 2240904ed63bed5db93354bcc9dd255b0c2fc40c --- toolkit/components/places/nsLivemarkService.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolkit/components/places/nsLivemarkService.js b/toolkit/components/places/nsLivemarkService.js index 141bc5207e18..0698144c2328 100644 --- a/toolkit/components/places/nsLivemarkService.js +++ b/toolkit/components/places/nsLivemarkService.js @@ -601,9 +601,9 @@ Livemark.prototype = { // Update visited status for each entry. for (let child of this._children) { - history.hasVisits(child.uri, isVisited => { + history.hasVisits(child.uri).then(isVisited => { this.updateURIVisitedStatus(child.uri, isVisited); - }); + }).catch(Cu.reportError); } return this._children;