diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/profiles/unittest-features | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/profiles/unittest-features')
-rw-r--r-- | testing/profiles/unittest-features/extensions/README.txt | 2 | ||||
-rw-r--r-- | testing/profiles/unittest-features/user.js | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/testing/profiles/unittest-features/extensions/README.txt b/testing/profiles/unittest-features/extensions/README.txt new file mode 100644 index 0000000000..9ec618a6aa --- /dev/null +++ b/testing/profiles/unittest-features/extensions/README.txt @@ -0,0 +1,2 @@ +Dropping extensions here will get them installed in all test harnesses +that make use of this profile. diff --git a/testing/profiles/unittest-features/user.js b/testing/profiles/unittest-features/user.js new file mode 100644 index 0000000000..f4c349a4b1 --- /dev/null +++ b/testing/profiles/unittest-features/user.js @@ -0,0 +1,28 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +// Base preferences file for enabling unittest features. +// Not enabling these features cause many unittests that +// expect these prefs to be set to fail. +// Ideally, tests depending on these prefs should be setting +// the prefs themselves in their manifests... +// NOTE: Setting prefs to enable unittests to run at all +// should occur in unittest-required/user.js, not here! +/* globals user_pref */ +// Enable w3c touch events for testing +user_pref("dom.w3c_touch_events.enabled", 1); +// Enable CSS initial-letter for testing +user_pref("layout.css.initial-letter.enabled", true); +// Enable Media Source Extensions for testing +user_pref("media.mediasource.mp4.enabled", true); +user_pref("media.mediasource.webm.enabled", true); +user_pref("media.av1.enabled", true); +user_pref("media.eme.enabled", true); +user_pref("dom.forms.datetime.others", true); +// Enable Gamepad +user_pref("dom.gamepad.enabled", true); +user_pref("dom.gamepad.non_standard_events.enabled", true); +// Enable form autofill feature testing. +user_pref("extensions.formautofill.addresses.available", "on"); +user_pref("extensions.formautofill.creditCards.available", "on"); |