Backed out changeset 7f4229cbc665 (bug 1385177)
authorSebastian Hengst <archaeopteryx@coole-files.de>
Sat, 29 Jul 2017 10:11:07 +0200
changeset 420517 1aa98e99c8792d7d76b0069319c51f8f5004690f
parent 420516 cce87afe39049f1f332ef27a4c02359b41d6ec15
child 420518 b9abf4de15297fa10e1ee09c99713a2c6286fd69
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1385177
milestone56.0a1
backs out7f4229cbc66563ced5b3277f58fc30295cfeb685
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 7f4229cbc665 (bug 1385177)
browser/extensions/shield-recipe-client/test/browser/browser_ClientEnvironment.js
--- a/browser/extensions/shield-recipe-client/test/browser/browser_ClientEnvironment.js
+++ b/browser/extensions/shield-recipe-client/test/browser/browser_ClientEnvironment.js
@@ -111,17 +111,17 @@ add_task(async function testExperiments(
   );
 
   getAll.restore();
 });
 
 add_task(async function isFirstRun() {
   let environment = ClientEnvironment.getEnvironment();
 
-  // isFirstRun is initially set to true.
-  ok(environment.isFirstRun, "isFirstRun has a default value");
+  // isFirstRun is set to false after the recipe client runs
+  ok(!environment.isFirstRun, "isFirstRun has a default value");
 
   // isFirstRun is read from a preference
   await SpecialPowers.pushPrefEnv({set: [["extensions.shield-recipe-client.first_run", true]]});
   environment = ClientEnvironment.getEnvironment();
   ok(environment.isFirstRun, "isFirstRun is read from preferences");
 });