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 id27014
push userkwierso@gmail.com
push dateThu, 26 Jun 2014 00:37:41 +0000
treeherdermozilla-central@02be1bf66359 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaknow
bugs1030030, 1028099
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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);