mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 881142 - Part 5: Modify test_outgoing_busy for removing call state busy. r=hsinyi
This commit is contained in:
parent
44e81e91c7
commit
dc2066bfec
@ -92,10 +92,10 @@ function dial() {
|
||||
function busy() {
|
||||
log("The receiver is busy.");
|
||||
|
||||
outgoing.onbusy = function onbusy(event) {
|
||||
log("Received 'busy' call event.");
|
||||
outgoing.onerror = function onerror(event) {
|
||||
log("Received 'error' call event.");
|
||||
is(outgoing, event.call);
|
||||
is(outgoing.state, "busy");
|
||||
is(event.call.error.name, "BusyError");
|
||||
|
||||
runEmulatorCmd("gsm list", function(result) {
|
||||
log("Call list is now: " + result);
|
||||
@ -103,6 +103,7 @@ function busy() {
|
||||
cleanUp();
|
||||
});
|
||||
};
|
||||
|
||||
runEmulatorCmd("gsm busy " + number);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user