mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
19 lines
606 B
JavaScript
19 lines
606 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
MARIONETTE_TIMEOUT = 10000;
|
|
|
|
const WHITELIST_PREF = "dom.voicemail.whitelist";
|
|
let uriPrePath = window.location.protocol + "//" + window.location.host;
|
|
SpecialPowers.setCharPref(WHITELIST_PREF, uriPrePath);
|
|
|
|
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");
|
|
|
|
SpecialPowers.clearUserPref(WHITELIST_PREF);
|
|
finish();
|