Re: [wake-lock] request(): Order for permission and other checks (#202)

> should request() reject with NotAllowedError or AbortError

Sounds like one should do the feature policy check first (assuming it can be done sync) which would result in a promise rejected with `NotAllowedError` - thus is wins?  

-- 
GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/202#issuecomment-489490032 using your GitHub account

Received on Monday, 6 May 2019 03:11:39 UTC