Bug 1375425 - Correct addon service namespace casing; r?automatedtester
Use the Gecko IPC name format.
MozReview-Commit-ID: 22h1ObWKs20
--- a/testing/marionette/driver.js
+++ b/testing/marionette/driver.js
@@ -3190,16 +3190,22 @@ GeckoDriver.prototype.commands = {
"setContext": GeckoDriver.prototype.setContext, // deprecated, remove in Firefox 60
"Marionette:GetContext": GeckoDriver.prototype.getContext,
"getContext": GeckoDriver.prototype.getContext,
"Marionette:AcceptConnections": GeckoDriver.prototype.acceptConnections,
"acceptConnections": GeckoDriver.prototype.acceptConnections, // deprecated, remove in Firefox 60
"Marionette:Quit": GeckoDriver.prototype.quit,
"quit": GeckoDriver.prototype.quit, // deprecated, remove in Firefox 60
+ // Addon service
+ "Addon:Install": GeckoDriver.prototype.installAddon,
+ "addon:install": GeckoDriver.prototype.installAddon, // deprecated, remove in Firefox 60
+ "Addon:Uninstall": GeckoDriver.prototype.uninstallAddon,
+ "addon:uninstall": GeckoDriver.prototype.uninstallAddon, // deprecated, remove in Firefox 60
+
"newSession": GeckoDriver.prototype.newSession,
"getSessionCapabilities": GeckoDriver.prototype.getSessionCapabilities,
"executeScript": GeckoDriver.prototype.executeScript,
"getTimeouts": GeckoDriver.prototype.getTimeouts,
"setTimeouts": GeckoDriver.prototype.setTimeouts,
"singleTap": GeckoDriver.prototype.singleTap,
"performActions": GeckoDriver.prototype.performActions,
"releaseActions": GeckoDriver.prototype.releaseActions,
@@ -3261,19 +3267,16 @@ GeckoDriver.prototype.commands = {
"fullscreen": GeckoDriver.prototype.fullscreen,
"dismissDialog": GeckoDriver.prototype.dismissDialog,
"acceptDialog": GeckoDriver.prototype.acceptDialog,
"getTextFromDialog": GeckoDriver.prototype.getTextFromDialog,
"sendKeysToDialog": GeckoDriver.prototype.sendKeysToDialog,
"localization:l10n:localizeEntity": GeckoDriver.prototype.localizeEntity,
"localization:l10n:localizeProperty": GeckoDriver.prototype.localizeProperty,
-
- "addon:install": GeckoDriver.prototype.installAddon,
- "addon:uninstall": GeckoDriver.prototype.uninstallAddon,
};
function copy (obj) {
if (Array.isArray(obj)) {
return obj.slice();
} else if (typeof obj == "object") {
return Object.assign({}, obj);
}