Skip to content

Commit

Permalink
Bug 1572336 - Merge marionette.js into all.js. r=ato
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D41151

--HG--
extra : moz-landing-system : lando
  • Loading branch information
nnethercote committed Aug 13, 2019
1 parent bd33349 commit 3aa9f46
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 42 deletions.
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ modules/libpref/test/unit/data/testPrefSticky.js
modules/libpref/test/unit/extdata/testExt.js
remote/pref/remote.js
services/sync/tests/unit/prefs_test_prefs_store.js
testing/marionette/prefs/marionette.js

# Ignore testing pref files which aren't parsed normally.
testing/profiles/**/user.js
Expand Down
1 change: 0 additions & 1 deletion browser/installer/package-manifest.in
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@
@RESPATH@/chrome/marionette.manifest
@RESPATH@/components/marionette.manifest
@RESPATH@/components/marionette.js
@RESPATH@/defaults/pref/marionette.js
#endif

#if defined(ENABLE_TESTS) && defined(MOZ_DEBUG)
Expand Down
1 change: 0 additions & 1 deletion mobile/android/installer/package-manifest.in
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@
@BINPATH@/chrome/marionette.manifest
@BINPATH@/components/marionette.manifest
@BINPATH@/components/marionette.js
@BINPATH@/@PREF_DIR@/marionette.js
#endif

#ifdef PKG_LOCALE_MANIFEST
Expand Down
33 changes: 33 additions & 0 deletions modules/libpref/init/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -5761,3 +5761,36 @@ pref("services.sync.engine.passwords.validation.maxRecords", 1000);
// a sync.
pref("services.sync.maxResyncs", 5);
#endif // MOZ_SERVICES_SYNC

// Marionette is the remote protocol that lets OOP programs communicate with,
// instrument, and control Gecko.

// Starts and stops the Marionette server.
pref("marionette.enabled", false);

// Delay server startup until a modal dialogue has been clicked to allow time
// for user to set breakpoints in the Browser Toolbox.
pref("marionette.debugging.clicktostart", false);

// Verbosity of Marionette logger repository.
//
// Available levels are, in descending order of severity, "trace", "debug",
// "config", "info", "warn", "error", and "fatal". The value is treated
// case-insensitively.
pref("marionette.log.level", "Info");

// Certain log messages that are known to be long are truncated. This
// preference causes them to not be truncated.
pref("marionette.log.truncate", true);

// Port to start Marionette server on.
pref("marionette.port", 2828);

// Sets recommended automation preferences when Marionette is started.
pref("marionette.prefs.recommended", true);

// Whether content scripts can be safely reused.
//
// Deprecated and scheduled for removal with
// https://bugzil.la/marionette-window-tracking
pref("marionette.contentListener", false);
1 change: 0 additions & 1 deletion testing/marionette/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
DIRS += ["components"]

JAR_MANIFESTS += ["jar.mn"]
JS_PREFERENCE_FILES += ["prefs/marionette.js"]

MARIONETTE_UNIT_MANIFESTS += ["harness/marionette_harness/tests/unit/unit-tests.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
Expand Down
38 changes: 0 additions & 38 deletions testing/marionette/prefs/marionette.js

This file was deleted.

0 comments on commit 3aa9f46

Please sign in to comment.