mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 814629 - Part 1: MozMobileConnectionArray webidl. f=hsinyi r=khuey
This commit is contained in:
parent
8b680d602b
commit
351d9df61e
@ -789,6 +789,11 @@ DOMInterfaces = {
|
||||
'nativeType': 'mozilla::dom::CellBroadcast',
|
||||
},
|
||||
|
||||
'MozMobileConnectionArray': {
|
||||
'nativeType': 'mozilla::dom::network::MobileConnectionArray',
|
||||
'resultNotAddRefed': [ 'item' ]
|
||||
},
|
||||
|
||||
'MozNamedAttrMap': {
|
||||
'nativeType': 'nsDOMAttributeMap',
|
||||
},
|
||||
|
12
dom/webidl/MozMobileConnectionArray.webidl
Normal file
12
dom/webidl/MozMobileConnectionArray.webidl
Normal file
@ -0,0 +1,12 @@
|
||||
/* -*- 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/.
|
||||
*/
|
||||
|
||||
interface MozMobileConnection;
|
||||
|
||||
interface MozMobileConnectionArray {
|
||||
getter MozMobileConnection? item(unsigned long index);
|
||||
readonly attribute unsigned long length;
|
||||
};
|
@ -255,11 +255,9 @@ partial interface Navigator {
|
||||
};
|
||||
|
||||
#ifdef MOZ_B2G_RIL
|
||||
// nsIMozNavigatorMobileConnection
|
||||
interface MozMobileConnection;
|
||||
partial interface Navigator {
|
||||
[Throws, Func="Navigator::HasMobileConnectionSupport"]
|
||||
readonly attribute MozMobileConnection mozMobileConnection;
|
||||
readonly attribute MozMobileConnectionArray mozMobileConnections;
|
||||
};
|
||||
|
||||
partial interface Navigator {
|
||||
|
@ -515,6 +515,7 @@ if CONFIG['MOZ_B2G_RIL']:
|
||||
'MozCellBroadcast.webidl',
|
||||
'MozCellBroadcastEvent.webidl',
|
||||
'MozEmergencyCbModeEvent.webidl',
|
||||
'MozMobileConnectionArray.webidl',
|
||||
'MozOtaStatusEvent.webidl',
|
||||
'MozVoicemail.webidl',
|
||||
'MozVoicemailEvent.webidl',
|
||||
|
Loading…
Reference in New Issue
Block a user