forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
marionette.js
38 lines (29 loc) · 1.36 KB
/
marionette.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* 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/. */
/* global pref */
// 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);