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

explain 'none' more fully #435

Open
equalsJeffH opened this issue Oct 23, 2021 · 0 comments
Open

explain 'none' more fully #435

equalsJeffH opened this issue Oct 23, 2021 · 0 comments

Comments

@equalsJeffH
Copy link
Contributor

If I understand correctly, a policy directive of, say:

foo-feature-name 'none'

..means that "foo feature" is disabled for the relevant browsing context and all of its nested browsing contexts (if any).

Whether or not the above is fully correct, the permissions policy spec currently does not explicitly explain 'none' AFAICT.

Also, IIUC, it is within the parse policy directive alg where 'none' takes effect. If that's correct, then it would be helpful to add a note in that alg (e.g., near step 2.9.3.1) saying something like:

If element is an ASCII case-insensitive match for "'none'" then allowlist remains empty, resulting in directive[feature] having an empty allowlist as its value, effectively disabling the feature for the relevant browsing context.

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

No branches or pull requests

1 participant