Bug 782890 - BrowserNewTabPreloader.jsm and SafeBrowsing.jsm are referenced using the wrong URI; r=gavin
authorTim Taubert <ttaubert@mozilla.com>
Fri, 21 Sep 2012 18:10:17 +0200
changeset 107874 243f94de7936de23a5411704a3bffd40d79de92d
parent 107873 6cd4d5d108d6c077b6b2163ddbf53db446bcd8f5
child 107875 9cfb80a82883725b5fbdba4adb271d9f2d8f2e41
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
reviewersgavin
bugs782890
milestone18.0a1
Bug 782890 - BrowserNewTabPreloader.jsm and SafeBrowsing.jsm are referenced using the wrong URI; r=gavin
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -150,17 +150,17 @@ XPCOMUtils.defineLazyModuleGetter(this, 
 XPCOMUtils.defineLazyGetter(this, "SafeBrowsing", function() {
   let tmp = {};
   Cu.import("resource:///modules/SafeBrowsing.jsm", tmp);
   return tmp.SafeBrowsing;
 });
 #endif
 
 XPCOMUtils.defineLazyModuleGetter(this, "gBrowserNewTabPreloader",
-  "resource://gre/modules/BrowserNewTabPreloader.jsm", "BrowserNewTabPreloader");
+  "resource:///modules/BrowserNewTabPreloader.jsm", "BrowserNewTabPreloader");
 
 let gInitialPages = [
   "about:blank",
   "about:newtab",
   "about:home",
   "about:privatebrowsing",
   "about:sessionrestore"
 ];