Bug 1043165 - Part 3: Add TelephonyCall.disconnectedReason (ril). r=hsinyi
authorSzu-Yu Chen [:aknow] <szchen@mozilla.com>
Thu, 26 Mar 2015 16:39:40 +0800
changeset 265973 f42d8e5bb0c3cefc18b59005cfddabc86fc4e8bb
parent 265972 7fe43cd64f4dff94259ff8149735a49b1561ee3e
child 265974 bd080330d361fa430661afbf15b1ebb78454d415
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershsinyi
bugs1043165
milestone39.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 1043165 - Part 3: Add TelephonyCall.disconnectedReason (ril). r=hsinyi
dom/system/gonk/ril_consts.js
--- a/dom/system/gonk/ril_consts.js
+++ b/dom/system/gonk/ril_consts.js
@@ -2688,27 +2688,28 @@ NETWORK_CREG_TO_GECKO_MOBILE_CONNECTION_
 NETWORK_CREG_TO_GECKO_MOBILE_CONNECTION_STATE[NETWORK_CREG_STATE_UNKNOWN] = GECKO_MOBILE_CONNECTION_STATE_UNKNOWN;
 NETWORK_CREG_TO_GECKO_MOBILE_CONNECTION_STATE[NETWORK_CREG_STATE_REGISTERED_ROAMING] = GECKO_MOBILE_CONNECTION_STATE_REGISTERED;
 NETWORK_CREG_TO_GECKO_MOBILE_CONNECTION_STATE[NETWORK_CREG_STATE_NOT_SEARCHING_EMERGENCY_CALLS] = GECKO_MOBILE_CONNECTION_STATE_NOTSEARCHING;
 NETWORK_CREG_TO_GECKO_MOBILE_CONNECTION_STATE[NETWORK_CREG_STATE_SEARCHING_EMERGENCY_CALLS] = GECKO_MOBILE_CONNECTION_STATE_SEARCHING;
 NETWORK_CREG_TO_GECKO_MOBILE_CONNECTION_STATE[NETWORK_CREG_STATE_DENIED_EMERGENCY_CALLS] = GECKO_MOBILE_CONNECTION_STATE_DENIED;
 NETWORK_CREG_TO_GECKO_MOBILE_CONNECTION_STATE[NETWORK_CREG_STATE_UNKNOWN_EMERGENCY_CALLS] = GECKO_MOBILE_CONNECTION_STATE_UNKNOWN;
 
 
+// Should match enum TelephonyCallDisconnectedReason defined in TelephonyCall.webidl
 this.GECKO_CALL_ERROR_BAD_NUMBER = "BadNumberError";
 this.GECKO_CALL_ERROR_NO_ROUTE_TO_DESTINATION = "NoRouteToDestinationError";
 this.GECKO_CALL_ERROR_CHANNEL_UNACCEPTABLE = "ChannelUnacceptableError";
 this.GECKO_CALL_ERROR_OPERATOR_DETERMINED_BARRING = "OperatorDeterminedBarringError";
 this.GECKO_CALL_ERROR_NORMAL_CALL_CLEARING = "NormalCallClearingError";
 this.GECKO_CALL_ERROR_BUSY = "BusyError";
 this.GECKO_CALL_ERROR_NO_USER_RESPONDING = "NoUserRespondingError";
 this.GECKO_CALL_ERROR_USER_ALERTING = "UserAlertingNoAnswerError";
 this.GECKO_CALL_ERROR_REJECTED = "CallRejectedError";
 this.GECKO_CALL_ERROR_NUMBER_CHANGED = "NumberChangedError";
-this.GECKO_CALL_ERROR_REJECTED_DETINATION_FEATURE = "CallRejectedDestinationFeature";
+this.GECKO_CALL_ERROR_REJECTED_DETINATION_FEATURE = "CallRejectedDestinationFeatureError";
 this.GECKO_CALL_ERROR_PRE_EMPTION = "PreEmptionError";
 this.GECKO_CALL_ERROR_DEST_OUT_OF_ORDER = "DestinationOutOfOrderError";
 this.GECKO_CALL_ERROR_INVALID_NUMBER_FORMAT = "InvalidNumberFormatError";
 this.GECKO_CALL_ERROR_FACILITY_REJECTED = "FacilityRejectedError";
 this.GECKO_CALL_ERROR_RESPONSE_TO_STATUS_ENQUIRY = "ResponseToStatusEnquiryError";
 this.GECKO_CALL_ERROR_CONGESTION = "CongestionError";
 this.GECKO_CALL_ERROR_NETWORK_OUT_OF_ORDER = "NetworkOutOfOrderError";
 this.GECKO_CALL_ERROR_NETWORK_TEMP_FAILURE = "NetworkTempFailureError";