Bug 1302846 - Add Test Pilot add-ons to e10s whitelist r=felipe a=ritu
authorvladikoff <vlad.filippov@gmail.com>
Wed, 14 Sep 2016 17:44:32 -0400
changeset 428763 7e1133eb4dbe8a4aebc2d5f648fb877494b01b83
parent 428762 e6bc67cc7d76b0f040220663aac7a208cebedba5
child 428764 6b3607656acc1508c568370faedee953e9ef11b6
push id33416
push userpaul@paul.cx
push dateMon, 24 Oct 2016 16:26:20 +0000
reviewersfelipe, ritu
bugs1302846
milestone50.0
Bug 1302846 - Add Test Pilot add-ons to e10s whitelist r=felipe a=ritu MozReview-Commit-ID: DupVpKB2hmO * * * Bug 1302846 - Also add 4 add-ons that are planned to be presented in the Discovery Pane. r=mconley
toolkit/mozapps/extensions/internal/E10SAddonsRollout.jsm
--- a/toolkit/mozapps/extensions/internal/E10SAddonsRollout.jsm
+++ b/toolkit/mozapps/extensions/internal/E10SAddonsRollout.jsm
@@ -49,16 +49,67 @@ const ADDONS = {
   "PersonasPlus": { // PersonasPlus
     id: "personas@christopher.beard", minVersion: "1.8.0",
   },
 
   "ACR": { // Add-on Compatibility Reporter
     id: "compatibility@addons.mozilla.org", minVersion: "2.2.0",
   },
 
+  // Test Pilot add-ons for Firefox 49
+  "TestPilot": { // Test Pilot Addon
+    id: "@testpilot-addon", minVersion: "0.8.5",
+  },
+
+  "TabCenter": { // Tab Center
+    id: "tabcentertest1@mozilla.com", minVersion: "1.24",
+  },
+
+  "ActivityStream": { // Activity Stream
+    id: "@activity-streams", minVersion: "1.1.3",
+  },
+
+  "PageShot": { // Page Shot
+    id: "jid1-NeEaf3sAHdKHPA@jetpack", minVersion: "0.0.1",
+  },
+
+  "MinVid": { // Min Vid
+    id: "@min-vid", minVersion: "0.0.1",
+  },
+
+  "TrackingProtection": { // Tracking Protection Web Extension
+    id: "blok@mozilla.org", minVersion: "1.0.0",
+  },
+
+  "NoMore404s": { // No More 404s Web Extension
+    id: "wayback_machine@mozilla.org", minVersion: "1.5.6",
+  },
+
+  "UniversalSearch": { // Universal Search Extension
+    id: "universal-search@mozilla.com", minVersion: "1.0.10",
+  },
+
+  // (ENDS) Test Pilot add-ons for Firefox 49
+
+  "YouTubeHD": {
+    id: "{7b1bf0b6-a1b9-42b0-b75d-252036438bdc}", minVersion: "48.3",
+  },
+
+  "WeatherUnderground": {
+    id: "jid1-w3xH9kJhd3KJUp@jetpack", minVersion: "0.2.1",
+  },
+
+  "DictionaryAnywhere": {
+    id: "jid0-fbHwsGfb6kJyq2hj65KnbGte3yT@jetpack", minVersion: "0.1.9",
+  },
+
+  "GmailNotifier": {
+    id: "jid0-GjwrPchS3Ugt7xydvqVK4DQk8Ls@jetpack", minVersion: "0.6.5",
+  },
+
   // Add-ons used for testing
   "test1": {
     id: "bootstrap1@tests.mozilla.org", minVersion: "1.0",
   },
 
   "test2": {
     id: "bootstrap2@tests.mozilla.org", minVersion: "1.0",
   },
@@ -95,17 +146,42 @@ const set49Release = [
 // pane. This set is here in case we need to reduce add-ons
 // exposure live on Release.
 const set49PaneOnly = [
   ADDONS.ABP,
   ADDONS.VDH,
   ADDONS.Emoji,
   ADDONS.ASP,
   ADDONS.ACR
-]
+];
+
+// Main Test Pilot add-on + test add-ons for Firefox 50
+const setTestPilotAddons50 = [
+  ADDONS.TestPilot,
+  ADDONS.TabCenter,
+  ADDONS.ActivityStream,
+  ADDONS.MinVid,
+  ADDONS.PageShot,
+  ADDONS.TrackingProtection,
+  ADDONS.NoMore404s,
+  ADDONS.UniversalSearch,
+];
+
+const setDiscoveryPane50 = [
+  ADDONS.YouTubeHD,
+  ADDONS.WeatherUnderground,
+  ADDONS.DictionaryAnywhere,
+  ADDONS.GmailNotifier,
+];
+
+const set50Release = [
+  ...set49Release,
+  ...setTestPilotAddons50,
+  ...setDiscoveryPane50,
+];
 
 // We use these named policies to correlate the telemetry
 // data with them, in order to understand how each set
 // is behaving in the wild.
 const RolloutPolicy = {
   // Used during 48 Beta cycle
   "2a": { addons: set2, webextensions: true },
   "2b": { addons: set2, webextensions: false },
@@ -116,16 +192,19 @@ const RolloutPolicy = {
 
   // Smaller set that can be used for Release 49
   "49limiteda": { addons: set49PaneOnly, webextensions: true },
   "49limitedb": { addons: set49PaneOnly, webextensions: false },
 
   // Beta testing on 50
   "50allmpc": { addons: [], webextensions: true, mpc: true },
 
+  "50a": { addons: set50Release, webextensions: true },
+  "50b": { addons: set50Release, webextensions: false },
+
   "xpcshell-test": { addons: [ADDONS.test1, ADDONS.test2], webextensions: false },
 };
 
 Object.defineProperty(this, "isAddonPartOfE10SRollout", {
   configurable: false,
   enumerable: false,
   writable: false,
   value: function isAddonPartOfE10SRollout(aAddon) {