diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 09283f91aa8..aa8928f1d11 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -1288,7 +1288,7 @@ function delayedStartup(isLoadingBlank, mustLoadSidebar) { } let NP = {}; - Cu.import("resource://gre/modules/NetworkPrioritizer.jsm", NP); + Cu.import("resource://app/modules/NetworkPrioritizer.jsm", NP); NP.trackBrowserWindow(window); // initialize the session-restore service (in case it's not already running) diff --git a/browser/base/content/openLocation.js b/browser/base/content/openLocation.js index 9187ca40646..3446e39944c 100644 --- a/browser/base/content/openLocation.js +++ b/browser/base/content/openLocation.js @@ -49,7 +49,7 @@ try { // not critical, remain silent } -Components.utils.import("resource://gre/modules/openLocationLastURL.jsm"); +Components.utils.import("resource://app/modules/openLocationLastURL.jsm"); function onLoad() { diff --git a/browser/components/nsBrowserGlue.js b/browser/components/nsBrowserGlue.js index 96433769c69..f5c63892098 100644 --- a/browser/components/nsBrowserGlue.js +++ b/browser/components/nsBrowserGlue.js @@ -49,7 +49,7 @@ const Cu = Components.utils; const XULNS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; Cu.import("resource://gre/modules/XPCOMUtils.jsm"); -Cu.import("resource:///modules/distribution.js"); +Cu.import("resource://app/modules/distribution.js"); const PREF_EM_NEW_ADDONS_LIST = "extensions.newAddons"; const PREF_PLUGINS_NOTIFYUSER = "plugins.update.notifyUser"; diff --git a/browser/components/privatebrowsing/test/unit/test_openLocationLastURL.js b/browser/components/privatebrowsing/test/unit/test_openLocationLastURL.js index a1683ade731..6ea1b108f57 100644 --- a/browser/components/privatebrowsing/test/unit/test_openLocationLastURL.js +++ b/browser/components/privatebrowsing/test/unit/test_openLocationLastURL.js @@ -41,7 +41,7 @@ function run_test_on_service() let Cc = Components.classes; let Ci = Components.interfaces; let Cu = Components.utils; - Cu.import("resource://gre/modules/openLocationLastURL.jsm"); + Cu.import("resource://app/modules/openLocationLastURL.jsm"); let pb = Cc[PRIVATEBROWSING_CONTRACT_ID]. getService(Ci.nsIPrivateBrowsingService);