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

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