mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
22 lines
633 B
JavaScript
22 lines
633 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
MARIONETTE_TIMEOUT = 10000;
|
|
|
|
SpecialPowers.addPermission("voicemail", true, document);
|
|
|
|
let voicemail = window.navigator.mozVoicemail;
|
|
ok(voicemail instanceof MozVoicemail);
|
|
|
|
let serviceId = 0;
|
|
|
|
// These are the emulator's hard coded voicemail number and alphaId
|
|
is(voicemail.getNumber(serviceId), "+15552175049");
|
|
is(voicemail.getDisplayName(serviceId), "Voicemail");
|
|
|
|
is(voicemail.getNumber(), "+15552175049");
|
|
is(voicemail.getDisplayName(), "Voicemail");
|
|
|
|
SpecialPowers.removePermission("voicemail", document);
|
|
finish();
|