[Webkit-unassigned] [Bug 205104] Feature Request: Implement the Wake Lock API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 29 14:50:51 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=205104

PE Lord <pierre-etienne.lord at transports.gouv.qc.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pierre-etienne.lord at transpo
                   |                            |rts.gouv.qc.ca

--- Comment #8 from PE Lord <pierre-etienne.lord at transports.gouv.qc.ca> ---
Wake lock API has been released (https://github.com/WebKit/WebKit/tree/main/Source/WebCore/Modules/screen-wake-lock) on iOS 16.4

I use NoSleep.js to handle Wake Lock API. NoSleep.js is correctly handled with iOS 16.4.

Here the issue, on iOS 16.4.

When using the Wake Lock API, on Safari, in a browser mode, the Wake Lock API work properly.
On the same website, opened after have done "Add to home screen", the Wake Lock API don't work properly. The Wake Lock API seem to not be able to be acquired.
Here the test page: https://pelord.github.io/wakeLockApiAddHomeScreen/

To test the Wake Lock API, you have to toggle the ZZZ button.

Unchecked ZZZ = Wake Lock API released
Checked ZZZ = Wake Lock API acquired

Is it normal?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230329/31bc0f2b/attachment.htm>


More information about the webkit-unassigned mailing list