Bug 1030030 - [B2G] follow-up of Bug 1028099 - use call.id.number. r=aknow
authorHsin-Yi Tsai <htsai@mozilla.com>
Wed, 25 Jun 2014 17:16:59 +0800
changeset 190698 295196af061beaa362eea5c81019dc5de6e49503
parent 190697 3b6149f227d65bc026e66cc41b0e6a0677b9de74
child 190699 5d4554c35f0989d212581cd501d7685b68541e2e
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersaknow
bugs1030030, 1028099
milestone33.0a1
Bug 1030030 - [B2G] follow-up of Bug 1028099 - use call.id.number. r=aknow
dom/telephony/test/marionette/head.js
--- a/dom/telephony/test/marionette/head.js
+++ b/dom/telephony/test/marionette/head.js
@@ -107,22 +107,22 @@ let emulator = (function() {
    */
   function clearCalls() {
     log("Clear existing calls.");
 
     // Hang up all calls.
     let hangUpPromises = [];
 
     for (let call of telephony.calls) {
-      log(".. hangUp " + call.number);
+      log(".. hangUp " + call.id.number);
       hangUpPromises.push(hangUp(call));
     }
 
     for (let call of conference.calls) {
-      log(".. hangUp " + call.number);
+      log(".. hangUp " + call.id.number);
       hangUpPromises.push(hangUp(call));
     }
 
     return Promise.all(hangUpPromises)
       .then(() => {
         return emulator.run("gsm clear");
       })
       .then(waitForNoCall);