зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1375425 - Correct l10n service namespace; r=automatedtester
We don't want to support multiple namespaces in service endpoints as it will add unecessary complexity when we in the future support enabling- and disabling services on an individual level. This patch drops the "localization" namespace and exposes "L10n:*". MozReview-Commit-ID: IhqG72vMohJ --HG-- extra : rebase_source : 9d675e2915f8ae25bcc9fdedab3e2095038990f0
This commit is contained in:
Родитель
09256d7b98
Коммит
670d9c4945
|
@ -3201,6 +3201,12 @@ GeckoDriver.prototype.commands = {
|
|||
"Addon:Uninstall": GeckoDriver.prototype.uninstallAddon,
|
||||
"addon:uninstall": GeckoDriver.prototype.uninstallAddon, // deprecated, remove in Firefox 60
|
||||
|
||||
// L10n service
|
||||
"L10n:LocalizeEntity": GeckoDriver.prototype.localizeEntity,
|
||||
"localization:l10n:localizeEntity": GeckoDriver.prototype.localizeEntity, // deprecated, remove in Firefox 60
|
||||
"L10n:LocalizeProperty": GeckoDriver.prototype.localizeProperty,
|
||||
"localization:l10n:localizeProperty": GeckoDriver.prototype.localizeProperty, // deprecated, remove in Firefox 60
|
||||
|
||||
"newSession": GeckoDriver.prototype.newSession,
|
||||
"getSessionCapabilities": GeckoDriver.prototype.getSessionCapabilities,
|
||||
"executeScript": GeckoDriver.prototype.executeScript,
|
||||
|
@ -3269,9 +3275,6 @@ GeckoDriver.prototype.commands = {
|
|||
"acceptDialog": GeckoDriver.prototype.acceptDialog,
|
||||
"getTextFromDialog": GeckoDriver.prototype.getTextFromDialog,
|
||||
"sendKeysToDialog": GeckoDriver.prototype.sendKeysToDialog,
|
||||
|
||||
"localization:l10n:localizeEntity": GeckoDriver.prototype.localizeEntity,
|
||||
"localization:l10n:localizeProperty": GeckoDriver.prototype.localizeProperty,
|
||||
};
|
||||
|
||||
function copy (obj) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче