Closed Bug 1366827 Opened 7 years ago Closed 7 years ago

Allow webextension experiments on release

Categories

(WebExtensions :: Experiments, enhancement)

enhancement
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: aswan, Assigned: jhirsch)

Details

Attachments

(1 file)

The main Test Pilot extension and individual Test Pilot experiments are in the process of moving away from the Add-on SDK.  The goal is to use webextension experiments, but of course they'll need those to be usable on release.

If we land this change in 55, then AMO-signed experiments could theoretically run on release in 55 and 56 but only admins can sign experiments with the AMO CA.  Beginning in 57, only experiments signed with "Mozilla Extensions" will be installable.
Jared, should I re-assign this one to you?
Flags: needinfo?(jhirsch)
Yeah! Let's do it
Flags: needinfo?(jhirsch)
Assignee: aswan → jhirsch
There are a few places where we just need to remove existing RELEASE_OR_BETA checks:
http://searchfox.org/mozilla-central/rev/1a0d9545b9805f50a70de703a3c04fc0d22e3839/toolkit/mozapps/extensions/internal/XPIInstall.jsm#160-162
http://searchfox.org/mozilla-central/rev/972b7a5149bbb2eaab48aafa87678c33d5f2f045/toolkit/mozapps/extensions/internal/XPIProvider.jsm#257-258
http://searchfox.org/mozilla-central/rev/972b7a5149bbb2eaab48aafa87678c33d5f2f045/toolkit/components/extensions/ExtensionParent.jsm#71-73

And then tests that we need to not skip on release/beta:
A couple of instances in toolkit/mozapps/extensions/test/xpcshell/test_webextension.js
The skip-if clauses in .ini files in toolkit/components/extensions/test/xpcshell
Comment on attachment 8873938 [details]
Bug 1366827 - Enable WebExtension experiments in Beta and Release.

https://reviewboard.mozilla.org/r/145312/#review149290

r=me with the comments addressed

::: toolkit/mozapps/extensions/internal/XPIInstall.jsm:160
(Diff revision 1)
>    dictionary: 64,
>    experiment: 128,
>  };
>  
> -if (!AppConstants.RELEASE_OR_BETA)
> -   TYPES.apiextension = 256;
> +TYPES.apiextension = 256;

you can now just put this in the declaration above

::: toolkit/mozapps/extensions/internal/XPIProvider.jsm:257
(Diff revision 1)
>    dictionary: 64,
>    experiment: 128,
>  };
>  
> -if (!AppConstants.RELEASE_OR_BETA)
> -  TYPES.apiextension = 256;
> +TYPES.apiextension = 256;

ditto the previous comment
Attachment #8873938 - Flags: review?(aswan) → review+
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/d62f6dc68c5f
Enable WebExtension experiments in Beta and Release. r=aswan
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/d62f6dc68c5f
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: