Bug 1370437 Really make webextension experiments run on release
Remove a RELEASE_OR_BETA check that was overlooked during
bug 1366827.
MozReview-Commit-ID: 2boEYsJDtUx
--- a/toolkit/components/extensions/Extension.jsm
+++ b/toolkit/components/extensions/Extension.jsm
@@ -867,20 +867,16 @@ this.Extension = class extends Extension
}
loadManifest() {
return super.loadManifest().then(manifest => {
if (this.errors.length) {
return Promise.reject({errors: this.errors});
}
- if (AppConstants.RELEASE_OR_BETA) {
- return manifest;
- }
-
// Load Experiments APIs that this extension depends on.
return Promise.all(
Array.from(this.apiNames, api => ExtensionAPIs.load(api))
).then(apis => {
for (let API of apis) {
this.apis.push(new API(this));
}