Bug 1275100 - Set signon.rememberSignons.visibilityToggle pref in browser_notifications_2. r=MattN
authorgasolin <gasolin@gmail.com>
Tue, 24 May 2016 13:55:16 +0800
changeset 338603 97254a1b7096c1f5e63d42374fed50d38150c0ef
parent 338602 27252da65bbf8eba420e4460ba6b78851c55aa70
child 338604 e8155c4b4889919604a1484c7ba8031ec2edcc01
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN
bugs1275100
milestone49.0a1
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
Bug 1275100 - Set signon.rememberSignons.visibilityToggle pref in browser_notifications_2. r=MattN MozReview-Commit-ID: EUqoz1HmGUG
toolkit/components/passwordmgr/test/browser/browser_notifications_2.js
--- a/toolkit/components/passwordmgr/test/browser/browser_notifications_2.js
+++ b/toolkit/components/passwordmgr/test/browser/browser_notifications_2.js
@@ -1,8 +1,14 @@
+add_task(function* setup() {
+  yield SpecialPowers.pushPrefEnv({"set": [
+    ["signon.rememberSignons.visibilityToggle", true]
+  ]});
+});
+
 /**
  * Test that the doorhanger main action button is disabled
  * when the password field is empty.
  *
  * Also checks that submiting an empty password throws an error.
  */
 add_task(function* test_empty_password() {
   yield BrowserTestUtils.withNewTab({