зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1077075 - Part 1: Change the return types to promises (WebIDL). r=hsinyi
--HG-- extra : amend_source : 3f704aabc6d57807d97ea76e3d23c7e08ae0e736
This commit is contained in:
Родитель
8802aca7a2
Коммит
862b9bfafa
|
@ -33,14 +33,14 @@ interface TelephonyCall : EventTarget {
|
|||
|
||||
readonly attribute TelephonyCallGroup? group;
|
||||
|
||||
[Throws]
|
||||
void answer();
|
||||
[Throws]
|
||||
void hangUp();
|
||||
[Throws]
|
||||
void hold();
|
||||
[Throws]
|
||||
void resume();
|
||||
[NewObject, Throws]
|
||||
Promise<void> answer();
|
||||
[NewObject, Throws]
|
||||
Promise<void> hangUp();
|
||||
[NewObject, Throws]
|
||||
Promise<void> hold();
|
||||
[NewObject, Throws]
|
||||
Promise<void> resume();
|
||||
|
||||
attribute EventHandler onstatechange;
|
||||
attribute EventHandler ondialing;
|
||||
|
|
Загрузка…
Ссылка в новой задаче