gecko-dev/testing/marionette/moz.build
Andreas Tolfsen 914224d736 Bug 1350887 - Include Marionette prefs amongst defaults; r=ted,whimboo
The Marionette component ships in Firefox, but is not enabled by default.
We want to facilitate activating Marionette at runtime by flipping
the marionette.enabled preference, and showing the Marionette related
preferences in about:config helps discoverability.

It is also useful to rely on the preferences' default values so that
they do not have to be hardcoded in the component.

When Marionette is enabled by setting marionette.enabled to true, a set of
recommended automation preferences found in testing/marionette/server.js
are set if the user has not overriden/user-defined one of them and
marionette.prefs.recommended is true (default).  When Marionette is
stopped, the altered preferences are reset.

MozReview-Commit-ID: 3HLnEI0TEBB

--HG--
extra : rebase_source : 8be91ed46c443dd120cbc4b42c729cf3ae250b5f
2017-03-29 18:25:55 +01:00

16 lines
577 B
Plaintext

# 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/.
DIRS += ["components"]
JAR_MANIFESTS += ["jar.mn"]
JS_PREFERENCE_FILES += ["prefs/marionette.js"]
MARIONETTE_UNIT_MANIFESTS += ["harness/marionette_harness/tests/unit/unit-tests.ini"]
MARIONETTE_WEBAPI_MANIFESTS += ["harness/marionette_harness/tests/webapi-tests.ini"]
XPCSHELL_TESTS_MANIFESTS += ["unit.ini"]
with Files("**"):
BUG_COMPONENT = ("Testing", "Marionette")