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

I'm going to go ahead and close this as answered: there is currently no mechanism to transfer lock ownership on navigation - and, at least for now, we don't plan to add a mechanism to transfer the lock to another page. Although Martin is right that in could incentivise single page apps, the API makes it relatively easy for new document to acquire the lock. Further, because documents can't query if they are holding a lock, they must explicitly request a lock on every page load. 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 18 August 2021 03:04:23 UTC