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

add none as an allowed default #515

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add none as an allowed default #515

wants to merge 1 commit into from

Conversation

fergald
Copy link
Contributor

@fergald fergald commented May 26, 2023

Add none as a new possible default allowlist.

Surprisingly, I don't think this requires any updates to the algorithms as the updates would be to "Define an inherited policy for feature in container at origin" and "Is feature enabled in document for origin?" would both just be adding "If feature’s default allowlist is None, return "Disabled"." where we are going to return "Disabled" anyway.

Maybe we should add these conditions anyway, to make it explicit. Up to you.

Fixes #513

@clelland


Preview | Diff

@fergald fergald changed the title add none add none as a allowed default Jun 2, 2023
@fergald fergald changed the title add none as a allowed default add none as an allowed default Jun 2, 2023
aarongable pushed a commit to chromium/chromium that referenced this pull request Jul 10, 2023
This is described in w3c/webappsec-permissions-policy#515 . It is not added as an available default in the json config as we don't want anyone using it yet.

Bug: 1432116
Change-Id: I41f33eb1b4fa212a0420d41e6b950a5a4fe6ade5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4565116
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Fergal Daly <fergal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1168046}
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

Successfully merging this pull request may close these issues.

allow disabled-by-default features
1 participant