From a996ef41265f43b3a94039f4749e3aea32ed0fa2 Mon Sep 17 00:00:00 2001 From: Jessica Jong Date: Wed, 13 Nov 2013 16:50:46 +0800 Subject: [PATCH] Bug 814629 - Part 2: nsIDOMMobileConnection changes (idl). f=edgar r=hsinyi --- dom/network/interfaces/nsIDOMMobileConnection.idl | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/dom/network/interfaces/nsIDOMMobileConnection.idl b/dom/network/interfaces/nsIDOMMobileConnection.idl index 894715201f1..e6930b47433 100644 --- a/dom/network/interfaces/nsIDOMMobileConnection.idl +++ b/dom/network/interfaces/nsIDOMMobileConnection.idl @@ -11,7 +11,7 @@ interface nsIDOMMozMobileNetworkInfo; interface nsIDOMMozMobileCellInfo; interface nsIDOMMozMobileCFInfo; -[scriptable, builtinclass, uuid(095b3720-058c-11e3-8ffd-0800200c9a66)] +[scriptable, builtinclass, uuid(052550e3-7466-4941-80d7-405c169652f9)] interface nsIDOMMozMobileConnection : nsIDOMEventTarget { const long ICC_SERVICE_CLASS_VOICE = (1 << 0); @@ -69,6 +69,12 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget */ readonly attribute nsIDOMMozMobileConnectionInfo data; + /** + * Integrated Circuit Card Identifier of the SIM this + * mobile connection corresponds to. + */ + readonly attribute DOMString iccId; + /** * The selection mode of the voice and data networks. * @@ -383,6 +389,12 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget * changes. */ [implicit_jscontext] attribute jsval onotastatuschange; + + /** + * The 'oniccchange' event is notified whenever the iccid value + * changes. + */ + [implicit_jscontext] attribute jsval oniccchange; }; [scriptable, uuid(49706beb-a160-40b7-b745-50f62e389a2c)]