Bug 883754 - Throw an error on unexpected GSM SMS DCS value. r=vicamo

This commit is contained in:
Chuck Lee 2013-07-01 11:16:44 +08:00
parent 8718c4bf84
commit 99e5c20fb4

View File

@ -7880,6 +7880,7 @@ let CdmaPDUHelper = {
case PDU_DCS_MSG_CODING_16BITS_ALPHABET:
return PDU_CDMA_MSG_CODING_UNICODE;
}
throw new Error("gsmDcsToCdmaEncoding(): Invalid GSM SMS DCS value: " + encoding);
},
/**