W3C home > Mailing lists > Public > public-device-apis-log@w3.org > August 2021

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

From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
Date: Wed, 18 Aug 2021 03:04:21 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-900776708-1629255860-sysbot+gh@w3.org>
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

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