Re: [w3c/permissions] Add 'screen-wake-lock' permission (#247)

> @reillyeon is that true for third parties as well? It seems this would be useful for Permissions Policy, at least (with the default being "self").

The Permissions Policy and Permissions API checks are performed separately, with the former happening first. We follow the spec and default to "self", and `WakeLock.request()` will throw a `NotAllowedError` if the permissions policy check fails.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/247#issuecomment-867728137

Received on Thursday, 24 June 2021 15:24:00 UTC