mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 9f377abbf13e
This commit is contained in:
parent
415d896ad2
commit
77e05493e7
@ -30,7 +30,6 @@ interface nsIMobileMessageCallback : nsISupports
|
||||
const unsigned short NO_SIM_CARD_ERROR = 5;
|
||||
const unsigned short RADIO_DISABLED_ERROR = 6;
|
||||
const unsigned short INVALID_ADDRESS_ERROR = 7;
|
||||
const unsigned short FDN_CHECK_ERROR = 8;
|
||||
|
||||
/**
|
||||
* |message| can be nsIDOMMoz{Mms,Sms}Message.
|
||||
|
@ -104,9 +104,6 @@ MobileMessageCallback::NotifyError(int32_t aError, bool aAsync)
|
||||
case nsIMobileMessageCallback::INVALID_ADDRESS_ERROR:
|
||||
errorStr = NS_LITERAL_STRING("InvalidAddressError");
|
||||
break;
|
||||
case nsIMobileMessageCallback::FDN_CHECK_ERROR:
|
||||
errorStr = NS_LITERAL_STRING("FdnCheckError");
|
||||
break;
|
||||
default: // SUCCESS_NO_ERROR is handled above.
|
||||
MOZ_CRASH("Should never get here!");
|
||||
}
|
||||
|
@ -2676,9 +2676,6 @@ RadioInterface.prototype = {
|
||||
case RIL.ERROR_RADIO_NOT_AVAILABLE:
|
||||
error = Ci.nsIMobileMessageCallback.NO_SIGNAL_ERROR;
|
||||
break;
|
||||
case RIL.ERROR_FDN_CHECK_FAILURE:
|
||||
error = Ci.nsIMobileMessageCallback.FDN_CHECK_ERROR;
|
||||
break;
|
||||
}
|
||||
|
||||
if (context.silent) {
|
||||
|
@ -309,7 +309,6 @@ public class GeckoSmsManager
|
||||
public final static int kNoSimCardError = 5;
|
||||
public final static int kRadioDisabledError = 6;
|
||||
public final static int kInvalidAddressError = 7;
|
||||
public final static int kFdnCheckError = 8;
|
||||
|
||||
private final static int kMaxMessageSize = 160;
|
||||
|
||||
|
@ -303,7 +303,7 @@ public class GeckoSmsManager
|
||||
public final static int kNoSimCardError = 5;
|
||||
public final static int kRadioDisabledError = 6;
|
||||
public final static int kInvalidAddressError = 7;
|
||||
public final static int kFdnCheckError = 8;
|
||||
|
||||
|
||||
private final static int kMaxMessageSize = 160;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user