Hi Thomas, MozICCManager is an API available only for built-in applications on Firefox OS so it is fine to change it as much as you want.
-- Mounir On 25/06/13 17:11, Thomas Zimmermann wrote: > Hi, > > I intent to implement an extension to nsIDOMMozICCManager. > > When unlocking a SIM card, there is a maximum number of remaining tries. > The new interface 'getCardLockRetryCount' will allow for reading the > number of remaining tries for a specific lock. During the unlock > process, an app can display this information to the user, probably in > conjunction with a descriptive message (e.g, 'You have 3 tries left.'). > > interface nsIDOMMozIccManager { > ... > nsIDOMDOMRequest getCardLockRetryCount(in DOMString lockType); > ... > }; > > The parameter 'lockType' is a string that names the lock. The result is > a DOM request. On success, it returns the number of retries in its > result property; on error it returns a error name. An error happens if > the given lock type is not known or not supported by the implementation. > > There is more detailed documentation in bug 875710, comments 17 and 18 [1]. > > Any feedback and suggestions are welcome. > > Best regards > Thomas > > [1] https://bugzilla.mozilla.org/show_bug.cgi?id=875710#c17 > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform