| Summary: | Wake Lock permission denied after visibilitychange | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | siim <webkit> |
| Component: | New Bugs | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, cryze92, marcosc, tomac, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://mdn.github.io/dom-examples/screen-wake-lock-api/ | ||
|
Description
siim
2023-04-12 13:59:50 PDT
This is because we require transient activation to request the wake lock. When you're calling request() from the visibility change handler, you don't have transient activation. Pull request: https://github.com/WebKit/WebKit/pull/13104 Committed 263382@main (d901ad78bdb6): <https://commits.webkit.org/263382@main> Reviewed commits have been landed. Closing PR #13104 and removing active labels. |