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

Update demos to use Permissions-Policy header syntax #30

Merged
merged 6 commits into from
Oct 28, 2020

Conversation

huchenlei
Copy link
Contributor

This PR renames all remaining 'feature policy' occurence with 'permissions policy' in

  • code comments
  • function names, variable names
  • html content
  • README

Header syntax in policies.json has been updated.

Both the 'Permissions-Policy' HTTP header and 'Feature-Policy' HTTP header will be send for backward compatibility.
(See modification in server.mjs)

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
public/demos/autoplay.html Outdated Show resolved Hide resolved
public/js/app.js Outdated Show resolved Hide resolved
server.mjs Outdated Show resolved Hide resolved
public/js/shared.js Outdated Show resolved Hide resolved
public/js/app.js Outdated Show resolved Hide resolved
public/demos/animations.html Outdated Show resolved Hide resolved
public/js/policies.json Outdated Show resolved Hide resolved
public/index.html Show resolved Hide resolved
Copy link
Collaborator

@jpchase jpchase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

permissions-policy-header.mjs Show resolved Hide resolved
@jpchase jpchase merged commit 9c018ec into GoogleChromeLabs:master Oct 28, 2020
@huchenlei huchenlei deleted the permissions_policy_header branch May 12, 2021 19:40
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.

None yet

2 participants