The MozWakeLock.topic read-only property returns a DOMString with the name of the resource locked.
The MozWakeLock.unlock() method releases the lock on the resource. If several locks have been taken on the resource, each of them needs to be released individually.