mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 00:07:58 +01:00
Fix :back/:forward on Aurora.
nsIHistoryEntry is no more. Fixes issue #1063.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user