1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 21:47:59 +01:00

Fix :back/:forward on Aurora.

nsIHistoryEntry is no more.  Fixes issue #1063.
This commit is contained in:
Doug Kearns
2013-09-29 20:22:22 +10:00
parent b473571f81
commit b0ce802384

View File

@@ -69,7 +69,7 @@ var History = Module("history", {
obj.__defineSetter__("index", function (val) { webNav.gotoIndex(val); }); obj.__defineSetter__("index", function (val) { webNav.gotoIndex(val); });
obj.__iterator__ = function () array.iterItems(this); 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), { obj.push(update(Object.create(item), {
index: obj.length, index: obj.length,
icon: Class.Memoize(function () services.favicon.getFaviconImageForPage(this.URI).spec) icon: Class.Memoize(function () services.favicon.getFaviconImageForPage(this.URI).spec)