author Wes Kocher <wkocher@mozilla.com>
Fri, 18 Jan 2019 00:35:43 +0000
changeset 511472 0e2384b8497dbe5af4db59a7b8be7241caf7266d
parent 499641 20a550cfc08f4e8de5332209b9a56dbda2d6c6fd
permissions -rw-r--r--
Bug 1485386 - Move feature-enabling preferences out of unittest/user.js into a separate file r=ahal The unittest/user.js file contained a mix of preferences that ensure tests can run (switching web services to dummy servers to prevent hitting networks, etc) and preferences that enable features that aren't shipping by default (turning on touch events, enabling experimental css features, etc). In the future, we're going to want to run tests of only the features that are being shipped in release builds (or in beta builds, or in esr builds, etc), so we need to move feature-enabling preferences into a different file to make it possible to run tests with various sets of features enabled. This commit just moves feature-enabling prefs into a new file and then includes that file everywhere unittest prefs were already being included, so it should have no functional difference in the set of preferences being set in test runs. It also renames the unittest profile to clarify its purpose, and adds pointers to each profile from the other, and adds comments explaining what they're used for. Differential Revision: https://phabricator.services.mozilla.com/D16123

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.

profile_files = [

TEST_HARNESS_FILES.reftest.profile_data += profile_files
TEST_HARNESS_FILES.testing.mochitest.profile_data += profile_files
TEST_HARNESS_FILES['web-platform'].prefs += profile_files

with Files("**"):
    BUG_COMPONENT = ("Testing", "General")