Bug 828307 - Part 1: IDL change. r=vyang. sr=jonas
authorEdgar Chen <echen@mozilla.com>
Mon, 25 Feb 2013 10:56:04 +0800
changeset 135676 205360b12ae3258f7e03f3af99ef62f643a98ec9
parent 135675 78a916e9e4f503d7bafd75e3d30794db473e94b8
child 135677 d630cab30499ffea6bda9af28b6c3a91dce8e183
push id336
push userakeybl@mozilla.com
push dateMon, 17 Jun 2013 22:53:19 +0000
treeherdermozilla-release@574a39cdf657 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvyang, jonas
bugs828307
milestone22.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 828307 - Part 1: IDL change. r=vyang. sr=jonas
dom/network/interfaces/nsIDOMMobileConnection.idl
--- a/dom/network/interfaces/nsIDOMMobileConnection.idl
+++ b/dom/network/interfaces/nsIDOMMobileConnection.idl
@@ -318,17 +318,17 @@ interface nsIDOMMozMobileConnection : ns
 
   /**
    * The 'oncfstatechange' event is notified whenever the call forwarding
    * state changes.
    */
   [implicit_jscontext] attribute jsval oncfstatechange;
 };
 
-[scriptable, uuid(21a20166-a9b4-4386-b151-49e6cfb9401b)]
+[scriptable, uuid(c9d9ff61-a2f0-41cd-b478-9cefa7b31f31)]
 interface nsIDOMMozMobileConnectionInfo : nsISupports
 {
   /**
    * State of the connection.
    *
    * Possible values: 'notSearching', 'searching', 'denied', 'registered'.
    * null if the state is unknown.
    */
@@ -356,17 +356,17 @@ interface nsIDOMMozMobileConnectionInfo 
   /**
    * Network operator
    */
   readonly attribute nsIDOMMozMobileNetworkInfo network;
 
   /**
    * Mobile Country Code (MCC) of last known network operator.
    */
-  readonly attribute unsigned short lastKnownMcc;
+  readonly attribute DOMString lastKnownMcc;
 
   /**
    * Type of connection.
    *
    * Possible values: 'gsm', 'cdma', gprs', 'edge', 'umts', 'hsdpa', 'evdo0',
    * 'evdoa', 'evdob', etc.
    */
   readonly attribute DOMString type;
@@ -384,38 +384,38 @@ interface nsIDOMMozMobileConnectionInfo 
 
   /**
    * Cell location.
    */
   readonly attribute nsIDOMMozMobileCellInfo cell;
 
 };
 
-[scriptable, uuid(3bd866c7-98a5-4ef4-a464-c22d8cc6b992)]
+[scriptable, uuid(40018fc7-4c42-47b6-8de6-3591a9c622bc)]
 interface nsIDOMMozMobileNetworkInfo: nsISupports
 {
   /**
    * Short name of the network operator
    */
   readonly attribute DOMString shortName;
 
   /**
    * Long name of the network operator
    */
   readonly attribute DOMString longName;
 
   /**
    * Mobile Country Code (MCC) of the network operator
    */
-  readonly attribute unsigned short mcc;
+  readonly attribute DOMString mcc;
 
   /**
    * Mobile Network Code (MNC) of the network operator
    */
-  readonly attribute unsigned short mnc;
+  readonly attribute DOMString mnc;
 
   /**
    * State of this network operator.
    *
    * Possible values: 'available', 'connected', 'forbidden', or null (unknown)
    */
   readonly attribute DOMString state;
 };
@@ -429,33 +429,33 @@ interface nsIDOMMozMobileCellInfo: nsISu
   readonly attribute unsigned short gsmLocationAreaCode;
 
   /**
    * Mobile Cell ID for GSM/WCDMA networks.
    */
   readonly attribute unsigned long gsmCellId;
 };
 
-[scriptable, uuid(b794bfcd-4ba4-46f2-8bf3-b4ed1b8d2b40)]
+[scriptable, uuid(10d5c5a2-d43f-4f94-8657-cf7ccabbab6e)]
 interface nsIDOMMozMobileICCInfo : nsISupports
 {
    /**
    * Integrated Circuit Card Identifier.
    */
   readonly attribute DOMString iccid;
 
   /**
    * Mobile Country Code (MCC) of the subscriber's home network.
    */
-  readonly attribute unsigned short mcc;
+  readonly attribute DOMString mcc;
 
   /**
    * Mobile Network Code (MNC) of the subscriber's home network.
    */
-  readonly attribute unsigned short mnc;
+  readonly attribute DOMString mnc;
 
   /**
    * Service Provider Name (SPN) of the subscriber's home network.
    */
   readonly attribute DOMString spn;
 
   /**
    * Network name must be a part of displayed carrier name.