W3C home > Mailing lists > Public > public-device-apis-log@w3.org > March 2019

Re: [wake-lock] Requesting wake locks from Workers (#156)

From: Mrunal Kapade via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 Mar 2019 01:23:28 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-475086059-1553131406-sysbot+gh@w3.org>
Any reason why _requestPermission()_ has to be _static_ in Wakelock's case. in case of Notifications API may be there are many different types of notifications but for WakeLock we are dealing with only two types of wakelocks. I would prefer non-static version which inherits parameters.  

GitHub Notification of comment by mrunalk
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/156#issuecomment-475086059 using your GitHub account
Received on Thursday, 21 March 2019 01:23:32 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:56 UTC