mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 949949 - [B2G] remove telephony.onincoming before test case finishes. r=vicamo
This commit is contained in:
parent
e7c01f9f5b
commit
52d7945902
@ -152,7 +152,7 @@ function remoteDial(number) {
|
||||
|
||||
telephony.onincoming = function onincoming(event) {
|
||||
log("Received 'incoming' call event.");
|
||||
telephony.onimcoming = null;
|
||||
telephony.onincoming = null;
|
||||
|
||||
let call = event.call;
|
||||
|
||||
|
@ -97,7 +97,7 @@ function remoteDial(number) {
|
||||
|
||||
telephony.onincoming = function onincoming(event) {
|
||||
log("Received 'incoming' call event.");
|
||||
telephony.onimcoming = null;
|
||||
telephony.onincoming = null;
|
||||
|
||||
let call = event.call;
|
||||
|
||||
|
@ -91,6 +91,7 @@ function hangUp() {
|
||||
}
|
||||
|
||||
function cleanUp() {
|
||||
telephony.onincoming = null;
|
||||
finish();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user