-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Clean up data for Permissions Policy header #23470
base: main
Are you sure you want to change the base?
Conversation
This pull request has merge conflicts that must be resolved before it can be merged. |
http/headers/Permissions-Policy.json
Outdated
} | ||
} | ||
}, | ||
"battery": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind adding battery
in a separate PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid merge conflicts, I feel it is best to keep it all in the same PR -- but if still desired, I can split it out!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed it in 521b2de and we can simply revert that in a separate PR after merging this, which shouldn't cause a merge conflict.
This comment has been minimized.
This comment has been minimized.
http/headers/Permissions-Policy.json
Outdated
} | ||
} | ||
}, | ||
"battery": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed it in 521b2de and we can simply revert that in a separate PR after merging this, which shouldn't cause a merge conflict.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Originally I approved this PR, but it looks like this PR does more than what's described in the PR description.
In particular, this PR seems to remove the "Feature-Policy", and therefore changes the support data for the gamepad
and speaker-selection
permissions, causing the lint issues.
The changes regarding the removal of "Feature-Policy" were stated in the description, in that the alternative name was removed from all subfeatures. The failing lint is actually not because of that change, though, but rather because |
This PR cleans up a lot of data for the Permissions Policy HTTP header. The alternative name was copied down to all subfeatures, which is improper.
Additionally, this marks the header as unsupported in Firefox and Safari, as the header is not supported, and support was only indicated because the values are supported as values to
<iframe allow="">
. The features were copied to #23487 to untangle this data.This fixes #15987.