user.js (1362B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 // Base preferences file for enabling unittest features. 6 // Not enabling these features cause many unittests that 7 // expect these prefs to be set to fail. 8 // Ideally, tests depending on these prefs should be setting 9 // the prefs themselves in their manifests... 10 // NOTE: Setting prefs to enable unittests to run at all 11 // should occur in unittest-required/user.js, not here! 12 /* globals user_pref */ 13 // Enable w3c touch events for testing 14 user_pref("dom.w3c_touch_events.enabled", 1); 15 // Enable CSS initial-letter for testing 16 user_pref("layout.css.initial-letter.enabled", true); 17 // Enable Media Source Extensions for testing 18 user_pref("media.mediasource.webm.enabled", true); 19 user_pref("media.av1.enabled", true); 20 user_pref("media.eme.enabled", true); 21 user_pref("dom.forms.datetime.others", true); 22 // Enable Gamepad 23 user_pref("dom.gamepad.enabled", true); 24 user_pref("dom.gamepad.non_standard_events.enabled", true); 25 // Enable form autofill feature testing. 26 user_pref("extensions.formautofill.addresses.available", "on"); 27 user_pref("extensions.formautofill.creditCards.available", "on"); 28 // Turn off update 29 user_pref("app.update.disabledForTesting", true);