Skip to content

Unmerge the Feature-Policy and Permissions-Policy headers #26708

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ddbeck
Copy link
Contributor

@ddbeck ddbeck commented May 5, 2025

Summary

This PR breaks the "alternate name" Feature-Policy into its own feature entries. See #25950 for further discussion.

Test results and supporting details

There are a few issues I have not resolved:

  • Should we track the individual features/permission names under Feature-Policy, Permissions-Policy, both, or neither? I've (tentatively) tracked them in both, to preserve the continuity of many of the permissions existing before Permissions-Policy.
  • Should the Feature-policy features link to any MDN pages (since they're actually for PP)? As a matter of convenience, I did not remove the links from the FP file, but I could do so.
  • Should the Feature-policy features link specs? As a matter of convenience, I did not remove the links from the FP file, but I could do so.

Related issues

@github-actions github-actions bot added the data:http Compat data for HTTP features. https://developer.mozilla.org/docs/Web/HTTP label May 5, 2025
@github-actions github-actions bot added the size:xl [PR only] >1000 LoC changed label May 5, 2025
Copy link
Contributor

github-actions bot commented May 5, 2025

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@caugner
Copy link
Contributor

caugner commented May 7, 2025

  • Should we track the individual features/permission names under Feature-Policy, Permissions-Policy, both, or neither? I've (tentatively) tracked them in both, to preserve the continuity of many of the permissions existing before Permissions-Policy.

Yes, I think it make sense to track them in both.

  • Should the Feature-policy features link to any MDN pages (since they're actually for PP)? As a matter of convenience, I did not remove the links from the FP file, but I could do so.
  • Should the Feature-policy features link specs? As a matter of convenience, I did not remove the links from the FP file, but I could do so.

This is tricky: On the one hand, I don't think that we should link to PP here, but on the other hand it provides valuable context and doesn't really cause any harm. So maybe let's keep?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:http Compat data for HTTP features. https://developer.mozilla.org/docs/Web/HTTP size:xl [PR only] >1000 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants