Bug 1077075 - Part 1: Change the return types to promises (WebIDL). r=hsinyi

--HG--
extra : amend_source : 3f704aabc6d57807d97ea76e3d23c7e08ae0e736
This commit is contained in:
Ben Hsu 2014-12-23 19:34:00 +01:00
Родитель 8802aca7a2
Коммит 862b9bfafa
1 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -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;