mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
f2d4199d6b
This patch adds getCardLockRetryCount to nsIIccProvider and its implementations. This method allows callers to query the number of remaining tries for unlocking a SIM-card lock. Supported locks are 'pin', 'puk', 'pin2', 'puk2', 'nck', 'cck', and 'spck'. The call returns a DOM request that returns the retry count in its success handler, or signals an appropriate error. Reading the retry count is an optional feature and may not be supported for all lock types. In this case the DOM request receives and error with the name GECKO_ERROR_NOT_SUPPORTED. For an invalid lock type, the error name is GECKO_ERROR_GENERIC_FAILURE. getCardLockRetryCount replaces retryCount in nsIDOMMobileConnection, which is now deprecated. --HG-- extra : rebase_source : d1d11612f836652dca85f7c701f09e7af962e3b7 |
||
---|---|---|
.. | ||
interfaces | ||
src | ||
tests | ||
moz.build |