summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.js2
-rw-r--r--legacy.manifest2
-rw-r--r--legacy/BootstrapLoader.jsm2
-rw-r--r--legacy/RDFManifestConverter.jsm2
4 files changed, 4 insertions, 4 deletions
diff --git a/config.js b/config.js
index 2514b7b..98e6a6f 100644
--- a/config.js
+++ b/config.js
@@ -13,7 +13,7 @@ try {
.autoRegister(FileUtils.getFile('GreD', ['legacy.manifest']));
const {AddonManager} = Cu.import('resource://gre/modules/AddonManager.jsm');
- const {BootstrapLoader} = Cu.import('chrome://legacy/content/BootstrapLoader.jsm');
+ const {BootstrapLoader} = Cu.import('resource://legacy/BootstrapLoader.jsm');
AddonManager.addExternalExtensionLoader(BootstrapLoader);
} catch(ex) {
Components.utils.reportError(ex.message);
diff --git a/legacy.manifest b/legacy.manifest
index 5da5b9e..74999b3 100644
--- a/legacy.manifest
+++ b/legacy.manifest
@@ -1 +1 @@
-content legacy legacy/
+resource legacy legacy/
diff --git a/legacy/BootstrapLoader.jsm b/legacy/BootstrapLoader.jsm
index d9dc4c8..d2a4598 100644
--- a/legacy/BootstrapLoader.jsm
+++ b/legacy/BootstrapLoader.jsm
@@ -13,7 +13,7 @@ XPCOMUtils.defineLazyModuleGetters(this, {
AddonInternal: "resource://gre/modules/addons/XPIDatabase.jsm",
Blocklist: "resource://gre/modules/Blocklist.jsm",
ConsoleAPI: "resource://gre/modules/Console.jsm",
- InstallRDF: "chrome://legacy/content/RDFManifestConverter.jsm",
+ InstallRDF: "resource://legacy/RDFManifestConverter.jsm",
Services: "resource://gre/modules/Services.jsm",
});
diff --git a/legacy/RDFManifestConverter.jsm b/legacy/RDFManifestConverter.jsm
index 6eda163..cb01f6a 100644
--- a/legacy/RDFManifestConverter.jsm
+++ b/legacy/RDFManifestConverter.jsm
@@ -6,7 +6,7 @@
var EXPORTED_SYMBOLS = ["InstallRDF"];
ChromeUtils.defineModuleGetter(this, "RDFDataSource",
- "chrome://legacy/content/RDFDataSource.jsm");
+ "resource://legacy/RDFDataSource.jsm");
const RDFURI_INSTALL_MANIFEST_ROOT = "urn:mozilla:install-manifest";