Bug 912849 - part1 - WebAPI: notify conference call error. r=khuey, sr=gene.lian

This commit is contained in:
Hsin-Yi Tsai 2013-10-23 13:53:40 +08:00
Родитель 1a966cc323
Коммит 455024cbfa
3 изменённых файлов: 22 добавлений и 0 удалений

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

@ -0,0 +1,20 @@
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*/
[Pref="dom.telephony.enabled",
Constructor(DOMString type,
optional CallGroupErrorEventInit eventInitDict)]
interface CallGroupErrorEvent : Event
{
readonly attribute DOMString? name;
readonly attribute DOMString? message;
};
dictionary CallGroupErrorEventInit : EventInit
{
DOMString name = "";
DOMString message = "";
};

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

@ -31,4 +31,5 @@ interface TelephonyCallGroup : EventTarget {
attribute EventHandler onheld;
attribute EventHandler onresuming;
attribute EventHandler oncallschanged;
attribute EventHandler onerror;
};

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

@ -549,6 +549,7 @@ if CONFIG['ENABLE_TESTS']:
GENERATED_EVENTS_WEBIDL_FILES = [
'BlobEvent.webidl',
'CallGroupErrorEvent.webidl',
'DataStoreChangeEvent.webidl',
'DeviceLightEvent.webidl',
'DeviceProximityEvent.webidl',