Bug 1390703 - Bump Flash Click-to-Play rollout to 25% on release. r=bsmedberg, a=lizzard
authorFelipe Gomes <felipc@gmail.com>
Fri, 08 Sep 2017 16:52:33 -0300
changeset 421666 94cf7f1ee06b817dd8fa4d76bf63cef15de3b4e2
parent 421665 df29a08ea4310d0de72c3b6bd721356191c7f40b
child 421667 a4c4f7507a0513f9942bbbdb2838444b84636f2e
push id7736
push userryanvm@gmail.com
push dateMon, 11 Sep 2017 15:47:51 +0000
treeherdermozilla-beta@94cf7f1ee06b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg, lizzard
bugs1390703
milestone56.0
Bug 1390703 - Bump Flash Click-to-Play rollout to 25% on release. r=bsmedberg, a=lizzard Also bump it on Beta to 100% as we'll do the same on release shortly afterwards. MozReview-Commit-ID: E38mrF4kvUf
browser/extensions/clicktoplay-rollout/bootstrap.js
browser/extensions/clicktoplay-rollout/install.rdf.in
--- a/browser/extensions/clicktoplay-rollout/bootstrap.js
+++ b/browser/extensions/clicktoplay-rollout/bootstrap.js
@@ -9,18 +9,18 @@ const {classes: Cc, interfaces: Ci, util
 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
 Cu.import("resource://gre/modules/Services.jsm");
 Cu.import("resource://gre/modules/UpdateUtils.jsm");
 Cu.import("resource://gre/modules/AppConstants.jsm");
 Cu.import("resource://gre/modules/TelemetryEnvironment.jsm");
 
 // The amount of people to be part of the rollout
 const TEST_THRESHOLD = {
-  "beta": 0.5,  // 50%
-  "release": 0.05,  // 5%
+  "beta": 1.0,  // 100%
+  "release": 0.25,  // 25%
 };
 
 if (AppConstants.RELEASE_OR_BETA) {
   // The rollout is controlled by the channel name, which
   // is the only way to distinguish between Beta and Release.
   // However, non-official release builds (like the ones done by distros
   // to ship Firefox on their package managers) do not set a value
   // for the release channel, which gets them to the default value
@@ -68,16 +68,17 @@ function defineCohort() {
         break;
     }
   }
 
   switch (cohort) {
     case undefined:
     case "test":
     case "control":
+    case "excluded":
     {
       // If it's either test/control, the cohort might have changed
       // if the desired sampling has been changed.
       let testThreshold = TEST_THRESHOLD[updateChannel];
       let userSample = getUserSample();
 
       if (userSample < testThreshold) {
         cohort = "test";
--- a/browser/extensions/clicktoplay-rollout/install.rdf.in
+++ b/browser/extensions/clicktoplay-rollout/install.rdf.in
@@ -5,17 +5,17 @@
 
 #filter substitution
 
 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      xmlns:em="http://www.mozilla.org/2004/em-rdf#">
 
   <Description about="urn:mozilla:install-manifest">
     <em:id>clicktoplay-rollout@mozilla.org</em:id>
-    <em:version>1.2</em:version>
+    <em:version>1.3</em:version>
     <em:type>2</em:type>
     <em:bootstrap>true</em:bootstrap>
     <em:multiprocessCompatible>true</em:multiprocessCompatible>
 
     <!-- Target Application this theme can install into,
         with minimum and maximum supported versions. -->
     <em:targetApplication>
       <Description>