2012-07-20 17:19:38 -07:00
|
|
|
/* Any copyright is dedicated to the Public Domain.
|
|
|
|
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
|
|
|
|
MARIONETTE_TIMEOUT = 10000;
|
|
|
|
|
2012-08-23 16:31:02 -07:00
|
|
|
SpecialPowers.addPermission("voicemail", true, document);
|
2012-07-20 17:19:38 -07: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 16:31:02 -07:00
|
|
|
SpecialPowers.removePermission("voicemail", document);
|
2012-07-20 17:19:38 -07:00
|
|
|
finish();
|