Comment 61 for bug 604635

Revision history for this message
In , Chris Jones (jones-chris-g) wrote :

Re: comment 26: why put |wakeLockIsHeld(in ACString aTopic)| on navigator.power? I don't understand the use case for that. Putting it on WakeLock might make sense, but I can't really think of a use for that either.

Re: comment 29: putting |releaseWakeLock(in DOMString aTopic);| on navigator.power isn't a great idea API-wise, because it eliminates composability of the API. See discussion in comment 7 to comment 15. The proposal in comment 26 is better wrt this concern.