mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 969218 - Part 1: Use promise for dial and dialEmergency - webidl. r=hsinyi
This commit is contained in:
parent
a429f1b38a
commit
45066f58f7
@ -16,11 +16,11 @@ interface Telephony : EventTarget {
|
||||
* |navigator.mozMobileConnections.length|.
|
||||
*/
|
||||
|
||||
[Throws]
|
||||
TelephonyCall dial(DOMString number, optional unsigned long serviceId);
|
||||
// Promise<TelephonyCall>
|
||||
Promise dial(DOMString number, optional unsigned long serviceId);
|
||||
|
||||
[Throws]
|
||||
TelephonyCall dialEmergency(DOMString number, optional unsigned long serviceId);
|
||||
// Promise<TelephonyCall>
|
||||
Promise dialEmergency(DOMString number, optional unsigned long serviceId);
|
||||
|
||||
[Throws]
|
||||
void startTone(DOMString tone, optional unsigned long serviceId);
|
||||
|
Loading…
Reference in New Issue
Block a user