Bug 1355890 - Namespace Marionette component draft
authorAndreas Tolfsen <ato@mozilla.com>
Fri, 12 May 2017 18:14:38 +0100
changeset 578796 0adb3ae3f57f54f2c56e2079a2686e9936a3499e
parent 578781 b9a4a6e2292e923684c2d25b78addaca23c6abd5
child 578797 549cc74d1ffd25ab1e9fb784ab75ee5ee08bd7c4
push id59067
push userbmo:ato@mozilla.com
push dateTue, 16 May 2017 16:07:44 +0000
bugs1355890
milestone55.0a1
Bug 1355890 - Namespace Marionette component The Marionette XPCOM component is currently called @mozilla.org/marionette;1, but this change namespaces it under @mozilla.org/remote/marionette;1 to indicate that it is a remote protocol because not everyone will understand what that the own-name "Marionette" means. MozReview-Commit-ID: HwqAghsWA5W
testing/marionette/components/marionette.js
testing/marionette/components/marionette.manifest
--- a/testing/marionette/components/marionette.js
+++ b/testing/marionette/components/marionette.js
@@ -9,17 +9,17 @@ const {Constructor: CC, interfaces: Ci, 
 Cu.import("resource://gre/modules/Log.jsm");
 Cu.import("resource://gre/modules/Preferences.jsm");
 Cu.import("resource://gre/modules/Services.jsm");
 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
 
 XPCOMUtils.defineLazyServiceGetter(
     this, "env", "@mozilla.org/process/environment;1", "nsIEnvironment");
 
-const MARIONETTE_CONTRACT_ID = "@mozilla.org/marionette;1";
+const MARIONETTE_CONTRACT_ID = "@mozilla.org/remote/marionette;1";
 const MARIONETTE_CID = Components.ID("{786a1369-dca5-4adc-8486-33d23c88010a}");
 
 const PREF_PORT = "marionette.port";
 const PREF_PORT_FALLBACK = "marionette.defaultPrefs.port";
 const PREF_LOG_LEVEL = "marionette.log.level";
 const PREF_LOG_LEVEL_FALLBACK = "marionette.logging";
 
 const DEFAULT_LOG_LEVEL = "info";
--- a/testing/marionette/components/marionette.manifest
+++ b/testing/marionette/components/marionette.manifest
@@ -1,4 +1,4 @@
 component {786a1369-dca5-4adc-8486-33d23c88010a} marionette.js
-contract @mozilla.org/marionette;1 {786a1369-dca5-4adc-8486-33d23c88010a}
-category command-line-handler b-marionette @mozilla.org/marionette;1
-category profile-after-change Marionette @mozilla.org/marionette;1
+contract @mozilla.org/remote/marionette;1 {786a1369-dca5-4adc-8486-33d23c88010a}
+category command-line-handler b-marionette @mozilla.org/remote/marionette;1
+category profile-after-change Marionette @mozilla.org/remote/marionette;1