зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1107706: Part 15: Fix emulator callbacks for content process
--HG-- extra : rebase_source : c688926fa68751405406483fd420180e87415798
This commit is contained in:
Родитель
208b570e6c
Коммит
1d8f5a8b04
|
@ -37,6 +37,8 @@ Marionette.prototype = {
|
|||
"getLogs",
|
||||
"generate_results",
|
||||
"waitFor",
|
||||
"runEmulatorCmd",
|
||||
"runEmulatorShell",
|
||||
"TEST_PASS",
|
||||
"TEST_KNOWN_FAIL",
|
||||
"TEST_UNEXPECTED_FAIL",
|
||||
|
@ -201,4 +203,14 @@ Marionette.prototype = {
|
|||
}
|
||||
this.window.setTimeout(this.waitFor.bind(this), 100, callback, test, deadline);
|
||||
},
|
||||
|
||||
runEmulatorCmd: function runEmulatorCmd(cmd, callback) {
|
||||
this.heartbeatCallback();
|
||||
this.scope.runEmulatorCmd(cmd, callback);
|
||||
},
|
||||
|
||||
runEmulatorShell: function runEmulatorShell(args, callback) {
|
||||
this.heartbeatCallback();
|
||||
this.scope.runEmulatorShell(args, callback);
|
||||
},
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче