- From: Marcos Cáceres <notifications@github.com>
- Date: Sun, 06 Feb 2022 20:55:09 -0800
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/permissions/issues/356@github.com>
Elsewhere, @equalsJeffH wrote: Please see also my belated [comment](https://github.com/w3c/permissions/pull/264#issuecomment-984178181) on PR #264 (relevant portion copied here for convenience): WRT [the text this PR #264 added](https://www.w3.org/TR/permissions/#relationship-to-permissions-policy) to the Permissions spec, it seems to be _only implied_ that where a given feature is _both_ a powerful feature, and is _also_ subject to permissions policy, that the feature's "policy-controlled feature token" (as defined in the feature's specification), and in the Permissions spec's [`PermissionName`](https://www.w3.org/TR/permissions/#dom-permissionname) enum (aka "Powerful features registry"), _can_ be the same, but (I am guessing) do not _have_ to be the same. Though, I am guessing that the intent is for them to be the same (I cannot quickly find an example where they are not the same). In any case, whatever the requirement is, it ought to be stated explicitly. E.g., the strings "[camera](https://www.w3.org/TR/permissions/#dom-permissionname-camera)" and "[microphone](https://www.w3.org/TR/permissions/#dom-permissionname-microphone)" are both defined as [powerful feature names](https://www.w3.org/TR/permissions/#dfn-name) and are _also_ declared as [policy-controlled feature tokens (aka "strings")](https://www.w3.org/TR/mediacapture-streams/#permissions-policy-integration). Additionally, I find this statement in [the text this PR added](https://www.w3.org/TR/permissions/#relationship-to-permissions-policy) confusing: > The APIs and features in scope for the Permissions Policy specification go beyond those identified in this specification's PermissionName enum (e.g., "sync-xhr" and "gamepad"). ...because: neither "sync-xhr" nor "gamepad" are permission names (i.e., enum values within [`PermissionName`](https://www.w3.org/TR/permissions/#dom-permissionname)) -- so it is not obviously clear what using those policy-controlled feature tokens (aka "strings") as examples is intended to mean. Clarification would be good. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/permissions/issues/356 You are receiving this because you are subscribed to this thread. Message ID: <w3c/permissions/issues/356@github.com>
Received on Monday, 7 February 2022 04:55:22 UTC