mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
157aebae18
--HG-- rename : dom/telephony/Makefile.in => dom/voicemail/Makefile.in rename : dom/telephony/Voicemail.cpp => dom/voicemail/Voicemail.cpp rename : dom/telephony/Voicemail.h => dom/voicemail/Voicemail.h rename : dom/telephony/VoicemailEvent.cpp => dom/voicemail/VoicemailEvent.cpp rename : dom/telephony/VoicemailEvent.h => dom/voicemail/VoicemailEvent.h rename : dom/telephony/nsIDOMVoicemail.idl => dom/voicemail/nsIDOMMozVoicemail.idl rename : dom/telephony/nsIDOMVoicemailEvent.idl => dom/voicemail/nsIDOMMozVoicemailEvent.idl rename : dom/telephony/nsIDOMVoicemailStatus.idl => dom/voicemail/nsIDOMMozVoicemailStatus.idl rename : dom/telephony/nsIDOMNavigatorTelephony.idl => dom/voicemail/nsINavigatorVoicemail.idl rename : dom/telephony/test/marionette/pdu_builder.js => dom/voicemail/test/marionette/pdu_builder.js rename : dom/telephony/test/marionette/test_voicemail_number.js => dom/voicemail/test/marionette/test_voicemail_number.js rename : dom/telephony/test/marionette/test_voicemail_statuschanged.js => dom/voicemail/test/marionette/test_voicemail_statuschanged.js rename : dom/telephony/test/marionette/test_voicemail_statuschanged.py => dom/voicemail/test/marionette/test_voicemail_statuschanged.py
17 lines
496 B
JavaScript
17 lines
496 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);
|
|
|
|
// These are the emulator's hard coded voicemail number and alphaId
|
|
is(voicemail.number, "+15552175049");
|
|
is(voicemail.displayName, "Voicemail");
|
|
|
|
SpecialPowers.removePermission("voicemail", document);
|
|
finish();
|