mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1572622 - Merge remote.js into all.js. r=ato
This makes prefs definition simpler, more consistent, and less error-prone. Differential Revision: https://phabricator.services.mozilla.com/D41324 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
3aa9f46986
commit
dd9bd0a9f7
@ -252,7 +252,6 @@ modules/libpref/test/unit/*data/**
|
||||
python/**
|
||||
|
||||
# Remote agent
|
||||
remote/pref/remote.js
|
||||
remote/Protocol.jsm
|
||||
remote/server/HTTPD.jsm
|
||||
remote/server/Packet.jsm
|
||||
|
@ -28,7 +28,6 @@ modules/libpref/test/unit/data/testParser.js
|
||||
modules/libpref/test/unit/data/testPrefLocked.js
|
||||
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
|
||||
|
||||
# Ignore testing pref files which aren't parsed normally.
|
||||
|
@ -198,7 +198,6 @@
|
||||
#ifdef ENABLE_REMOTE_AGENT
|
||||
@RESPATH@/chrome/remote@JAREXT@
|
||||
@RESPATH@/chrome/remote.manifest
|
||||
@RESPATH@/defaults/pref/remote.js
|
||||
#endif
|
||||
|
||||
; Marionette remote control protocol
|
||||
|
@ -5794,3 +5794,18 @@ pref("marionette.prefs.recommended", true);
|
||||
// Deprecated and scheduled for removal with
|
||||
// https://bugzil.la/marionette-window-tracking
|
||||
pref("marionette.contentListener", false);
|
||||
|
||||
// Indicates whether the remote agent is enabled. If it is false, the remote
|
||||
// agent will not be loaded.
|
||||
pref("remote.enabled", false);
|
||||
|
||||
// Limits remote agent to listen on loopback devices, e.g. 127.0.0.1,
|
||||
// localhost, and ::1.
|
||||
pref("remote.force-local", true);
|
||||
|
||||
// Defines the verbosity of the internal logger.
|
||||
//
|
||||
// Available levels are, in descending order of severity, "Trace", "Debug",
|
||||
// "Config", "Info", "Warn", "Error", and "Fatal". The value is treated
|
||||
// case-sensitively.
|
||||
pref("remote.log.level", "Info");
|
||||
|
@ -24,7 +24,7 @@ do this, provided you haven’t touched any compiled code (C++ or Rust):
|
||||
% ./mach build faster
|
||||
|
||||
Component files include the likes of command-line-handler.js,
|
||||
RemoteAgent.manifest, moz.build files, prefs/remote.js, and jar.mn.
|
||||
RemoteAgent.manifest, moz.build files, and jar.mn.
|
||||
All the JS modules (files ending with `.jsm`) are symlinked into
|
||||
the build and can be changed without rebuilding.
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DIRS += [
|
||||
"pref",
|
||||
"test",
|
||||
]
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
JS_PREFERENCE_FILES += ["remote.js"]
|
@ -1,18 +0,0 @@
|
||||
/* 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/. */
|
||||
|
||||
// Indicates whether the remote agent is enabled.
|
||||
// If it is false, the remote agent will not be loaded.
|
||||
pref("remote.enabled", false);
|
||||
|
||||
// Limits remote agent to listen on loopback devices,
|
||||
// e.g. 127.0.0.1, localhost, and ::1.
|
||||
pref("remote.force-local", true);
|
||||
|
||||
// Defines the verbosity of the internal logger.
|
||||
//
|
||||
// Available levels are, in descending order of severity,
|
||||
// "Trace", "Debug", "Config", "Info", "Warn", "Error", and "Fatal".
|
||||
// The value is treated case-sensitively.
|
||||
pref("remote.log.level", "Info");
|
Loading…
Reference in New Issue
Block a user