Re: [screen-wake-lock] Require transient activation to request lock (#350)

Ok, yeah, found it:

https://github.com/WebKit/WebKit/blob/b6b74556b8e6ecc165a8e1edb5fc73cc8e5853c2/Source/WebCore/Modules/screen-wake-lock/WakeLock.cpp#L68-L98

Right, we set a flag that "the wake lock became sticky", which is even better: That way, we still require the user activation, but once the wake lock is sticky, we can reapply it.  




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


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

Received on Wednesday, 29 November 2023 06:05:07 UTC