Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TAG] New Registry; Strategy for Updates? #75

Open
slightlyoff opened this issue Apr 28, 2017 · 7 comments
Open

[TAG] New Registry; Strategy for Updates? #75

slightlyoff opened this issue Apr 28, 2017 · 7 comments
Labels

Comments

@slightlyoff
Copy link

slightlyoff commented Apr 28, 2017

From TAG review

This spec introduces a new registry of names. What is the strategy for maintaining consistency between the Permissions API registry and naming and the feature names in this spec?

Related: we acknowledge that registry maintainence is an unresolved issue in the platform. We're going look into development of a unified solution for many specs and will ping back here if we make progress.

@raymeskhoury
Copy link

There has been some agreement that Permissions in the Permissions API registry should be a subset of features in Feature Policy. I'm not sure what the best way to enforce that is though?

@clelland
Copy link
Collaborator

clelland commented May 2, 2017

I mentioned this in #69, but I'll restate here -- I'd love to avoid introducing a new registry if possible. With the exception of "fullscreen" and "allowpaymentrequest", which require special handling for compat reasons, I've tried to avoid mentioning any specific features in the normative text of the spec.

The features are all mentioned in an appendix, which I think should eventually just be collected from references in other specs. If other specs can define xyz to be a policy-controlled-feature, declare its default allowlist and define its behaviour when enabled and disabled, they should be able to do that by reference to this spec, and then this spec doesn't have to be the authoritative source for all features. Is such a thing possible?

@clelland
Copy link
Collaborator

Ping @slightlyoff, @raymeskhoury -- Do you think that what we have is sufficient, or is an actual registry unavoidable here?

@raymeskhoury
Copy link

I'm not actually sure on the spec side. Conceptually it seems ok to me not to have a registry though.

@clelland
Copy link
Collaborator

Ping @slightlyoff -- is this issue okay to close now?

@annevk
Copy link
Member

annevk commented Nov 24, 2017

Is such a thing possible?

If there's no order-dependent processing of any kind that could work, but it makes reviewing rather hard as it's unclear what's being controlled.

And note if you ever add an API you'll likely have to add all of them due to enums and such.

@equalsJeffH
Copy link
Contributor

see also: w3c/permissions#177 "Clarify/resolve relationship of PermissionName enum values to Feature Identifier values"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants