From b0ce8023842bbbf9851292cdf7c5fb3acc6eebe2 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 29 Sep 2013 20:22:22 +1000 Subject: [PATCH] Fix :back/:forward on Aurora. nsIHistoryEntry is no more. Fixes issue #1063. --- common/content/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/history.js b/common/content/history.js index d17fd8bd..38f3424c 100644 --- a/common/content/history.js +++ b/common/content/history.js @@ -69,7 +69,7 @@ var History = Module("history", { obj.__defineSetter__("index", function (val) { webNav.gotoIndex(val); }); obj.__iterator__ = function () array.iterItems(this); - for (let item in iter(sh.SHistoryEnumerator, Ci.nsIHistoryEntry)) + for (let item in iter(sh.SHistoryEnumerator, Ci.nsISHEntry)) obj.push(update(Object.create(item), { index: obj.length, icon: Class.Memoize(function () services.favicon.getFaviconImageForPage(this.URI).spec)