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

How to decide what is governed by feature policy #248

Open
martinthomson opened this issue Nov 19, 2018 · 1 comment
Open

How to decide what is governed by feature policy #248

martinthomson opened this issue Nov 19, 2018 · 1 comment

Comments

@martinthomson
Copy link
Member

Mozilla has an implementation of feature policy now, but in discussing where to apply it, we had trouble identifying what it is for. It seems like the spec is written very generically, or - as @bzbarsky puts it - a generic mapping of string to boolean with some very specific ways on how that boolean is calculated.

The opinions the spec has with respect to the propagation of that boolean makes it better suited to certain applications. The application of this to permissions is very obvious, and we think that we understand - and like - what it means for things like fullscreen or geolocation.

On the other hand, we don't understand the performance or security applications. For instance, 'sync-xhr' seems like its primary application is creating bustage in framed content.

The spec should describe more clearly what criteria are used to decide if something is a suitable subject for inclusion in a feature policy.

@clelland
Copy link
Collaborator

I think the issue of how to actually decide might be best discussed in #252. I'll add some non-normative text to the spec describing the applicability of feature policy to different types of features to close this out.

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

No branches or pull requests

3 participants