mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 06:54:12 +01:00
Change class name for history service.
Firefox 22 removed the nsIGlobalHistory2 interface and no longer registers the @mozilla.org/browser/global-history;2 class. Instead, we use @mozilla.org/browser/nav-history-service;1. --HG-- extra : rebase_source : e31e53e41e30f09974d7564a310b1226b7d7f06d
This commit is contained in:
@@ -52,8 +52,8 @@ var Services = Module("Services", {
|
||||
this.add("favicon", "@mozilla.org/browser/favicon-service;1", "nsIFaviconService");
|
||||
this.add("file:", this.PROTOCOL + "file", "nsIFileProtocolHandler");
|
||||
this.add("focus", "@mozilla.org/focus-manager;1", "nsIFocusManager");
|
||||
this.add("history", "@mozilla.org/browser/global-history;2",
|
||||
["nsIBrowserHistory", "nsIGlobalHistory2", "nsINavHistoryService", "nsPIPlacesDatabase"]);
|
||||
this.add("history", "@mozilla.org/browser/nav-history-service;1",
|
||||
["nsIBrowserHistory", "nsINavHistoryService", "nsPIPlacesDatabase"]);
|
||||
this.add("io", "@mozilla.org/network/io-service;1", "nsIIOService");
|
||||
this.add("json", "@mozilla.org/dom/json;1", "nsIJSON", "createInstance");
|
||||
this.add("listeners", "@mozilla.org/eventlistenerservice;1", "nsIEventListenerService");
|
||||
|
||||
Reference in New Issue
Block a user