Bug 1100895 - Part 1: Replace 'ready' event by a readonly attribute 'ready'. r=hsinyi

This commit is contained in:
Szu-Yu Chen [:aknow] 2014-12-17 06:57:23 +08:00
Родитель 273ba66b2d
Коммит b3cce064fa
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -46,8 +46,9 @@ interface Telephony : EventTarget {
readonly attribute CallsList calls;
readonly attribute TelephonyCallGroup conferenceGroup;
// The 'ready' event will be fired when the telephony object is ready.
attribute EventHandler onready;
// Async notification that object initialization is done.
[Throws]
readonly attribute Promise<void> ready;
attribute EventHandler onincoming;
attribute EventHandler oncallschanged;