2012-07-21 00:19:38 +00:00
|
|
|
/* Any copyright is dedicated to the Public Domain.
|
|
|
|
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
|
|
|
|
MARIONETTE_TIMEOUT = 10000;
|
|
|
|
|
2012-08-23 23:31:02 +00:00
|
|
|
SpecialPowers.addPermission("voicemail", true, document);
|
2012-07-21 00:19:38 +00:00
|
|
|
|
|
|
|
let voicemail = window.navigator.mozVoicemail;
|
|
|
|
ok(voicemail instanceof MozVoicemail);
|
|
|
|
|
|
|
|
// These are the emulator's hard coded voicemail number and alphaId
|
|
|
|
is(voicemail.number, "+15552175049");
|
|
|
|
is(voicemail.displayName, "Voicemail");
|
|
|
|
|
2012-08-23 23:31:02 +00:00
|
|
|
SpecialPowers.removePermission("voicemail", document);
|
2012-07-21 00:19:38 +00:00
|
|
|
finish();
|