зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1123506 - Update references to __webDriverArguments; r=automatedtester
__marionetteParams was renamed to __webDriverArguments. MozReview-Commit-ID: 9t1skl5MESf
This commit is contained in:
Родитель
1d15796afc
Коммит
90edca9757
|
@ -5,12 +5,12 @@
|
|||
const { utils: Cu, classes: Cc, interfaces: Ci } = Components;
|
||||
|
||||
function setPermissions() {
|
||||
if (__marionetteParams.length < 2) {
|
||||
if (__webDriverArguments.length < 2) {
|
||||
return;
|
||||
}
|
||||
|
||||
let serverAddr = __marionetteParams[0];
|
||||
let serverPort = __marionetteParams[1];
|
||||
let serverAddr = __webDriverArguments[0];
|
||||
let serverPort = __webDriverArguments[1];
|
||||
let perms = Cc["@mozilla.org/permissionmanager;1"]
|
||||
.getService(Ci.nsIPermissionManager);
|
||||
let ioService = Cc["@mozilla.org/network/io-service;1"]
|
||||
|
|
|
@ -239,8 +239,8 @@ function runUpdateTest(stage) {
|
|||
}
|
||||
|
||||
var updateArgs;
|
||||
if (__marionetteParams) {
|
||||
updateArgs = __marionetteParams[0];
|
||||
if (__webDriverArguments) {
|
||||
updateArgs = __webDriverArguments[0];
|
||||
}
|
||||
|
||||
function cleanUp() {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
* 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/. */
|
||||
|
||||
var outOfProcess = __marionetteParams[0]
|
||||
var mochitestUrl = __marionetteParams[1]
|
||||
var onDevice = __marionetteParams[2]
|
||||
var wifiSettings = __marionetteParams[3]
|
||||
var chrome = __marionetteParams[4]
|
||||
var outOfProcess = __webDriverArguments[0]
|
||||
var mochitestUrl = __webDriverArguments[1]
|
||||
var onDevice = __webDriverArguments[2]
|
||||
var wifiSettings = __webDriverArguments[3]
|
||||
var chrome = __webDriverArguments[4]
|
||||
var prefs = Components.classes["@mozilla.org/preferences-service;1"].
|
||||
getService(Components.interfaces.nsIPrefBranch)
|
||||
var settings = window.navigator.mozSettings;
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
* 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/. */
|
||||
|
||||
const flavor = __marionetteParams[0]
|
||||
const url = __marionetteParams[1]
|
||||
const flavor = __webDriverArguments[0]
|
||||
const url = __webDriverArguments[1]
|
||||
|
||||
let wm = Cc["@mozilla.org/appshell/window-mediator;1"]
|
||||
.getService(Ci.nsIWindowMediator);
|
||||
|
|
Загрузка…
Ссылка в новой задаче