Re: [wake-lock] Navigation and maintaining locks (#249)

As wake locks is tied to a permission grant, then any page within an origin could request the wake lock without requiring the API to be triggered by user activation - so long as the initial permission request was granted by user activation. 

If the site then navigates, it temporarily loses the lock, but can just ask for it again in the new page. I guess we would then need to check if it's too disruptive... or maybe the UA adds some kind of release lag after the page navigates. 

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

Received on Monday, 2 March 2020 11:03:59 UTC