dom/telephony/test/marionette/test_call_mute.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/telephony/test/marionette/test_call_mute.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +/* Any copyright is dedicated to the Public Domain.
     1.5 + * http://creativecommons.org/publicdomain/zero/1.0/ */
     1.6 +
     1.7 +MARIONETTE_TIMEOUT = 60000;
     1.8 +MARIONETTE_HEAD_JS = 'head.js';
     1.9 +
    1.10 +function test_call_mute() {
    1.11 +  telephony.muted = true;
    1.12 +  is(telephony.muted, true);
    1.13 +  telephony.muted = false;
    1.14 +  is(telephony.muted, false);
    1.15 +  cleanUp();
    1.16 +}
    1.17 +
    1.18 +function cleanUp() {
    1.19 +  finish();
    1.20 +}
    1.21 +
    1.22 +startTest(function() {
    1.23 +  test_call_mute();
    1.24 +});

mercurial