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
parent 827fdaa7ca
commit 3d9a28653f

View File

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