Bug 949949 - [B2G] remove telephony.onincoming before test case finishes. r=vicamo

This commit is contained in:
Hsin-Yi Tsai 2013-12-13 18:22:18 -08:00
parent d1f818ce71
commit 1398df96ba
3 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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;

View File

@ -91,6 +91,7 @@ function hangUp() {
}
function cleanUp() {
telephony.onincoming = null;
finish();
}