mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
Another follow-up to bug 527784: just use resource:/// across the board because xpcshell doesn't implement resource://app/ like toolkit's nsXREDirProvider does.
This commit is contained in:
parent
035db4c29f
commit
e3662dc509
@ -1288,7 +1288,7 @@ function delayedStartup(isLoadingBlank, mustLoadSidebar) {
|
||||
}
|
||||
|
||||
let NP = {};
|
||||
Cu.import("resource://app/modules/NetworkPrioritizer.jsm", NP);
|
||||
Cu.import("resource:///modules/NetworkPrioritizer.jsm", NP);
|
||||
NP.trackBrowserWindow(window);
|
||||
|
||||
// initialize the session-restore service (in case it's not already running)
|
||||
|
@ -49,7 +49,7 @@ try {
|
||||
// not critical, remain silent
|
||||
}
|
||||
|
||||
Components.utils.import("resource://app/modules/openLocationLastURL.jsm");
|
||||
Components.utils.import("resource:///modules/openLocationLastURL.jsm");
|
||||
|
||||
function onLoad()
|
||||
{
|
||||
|
@ -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://app/modules/distribution.js");
|
||||
Cu.import("resource:///modules/distribution.js");
|
||||
|
||||
const PREF_EM_NEW_ADDONS_LIST = "extensions.newAddons";
|
||||
const PREF_PLUGINS_NOTIFYUSER = "plugins.update.notifyUser";
|
||||
|
@ -66,7 +66,6 @@
|
||||
#define PNG_NO_READ_sPLT
|
||||
#define PNG_NO_READ_TEXT
|
||||
#define PNG_NO_READ_tIME
|
||||
#define PNG_NO_READ_UNKNOWN_CHUNKS
|
||||
#define PNG_NO_READ_USER_CHUNKS
|
||||
#define PNG_NO_READ_EMPTY_PLTE
|
||||
#define PNG_NO_READ_OPT_PLTE
|
||||
|
Loading…
x
Reference in New Issue
Block a user