gecko/dom/icc
Thomas Zimmermann f2d4199d6b Bug 875710: Added getCardLockRetryCount to nsIIccProvider, r=vyang, sr=mounir
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
2013-07-09 16:06:05 +02:00
..
interfaces Bug 875710: Added getCardLockRetryCount to nsIIccProvider, r=vyang, sr=mounir 2013-07-09 16:06:05 +02:00
src Bug 875710: Added getCardLockRetryCount to nsIIccProvider, r=vyang, sr=mounir 2013-07-09 16:06:05 +02:00
tests Bug 874744 - Part 4: Marionette tests for cardstate. r=allstars.chh 2013-05-29 15:47:18 +08:00
moz.build Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00