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

Feature-Policy-Report-Only: which types are supported? #305

Closed
gi11es opened this issue May 1, 2019 · 2 comments
Closed

Feature-Policy-Report-Only: which types are supported? #305

gi11es opened this issue May 1, 2019 · 2 comments
Labels
feature question Questions and issues around specific policy-controlled features

Comments

@gi11es
Copy link

gi11es commented May 1, 2019

In Chrome 74 with the origin trial sync-xhr works, but for example is I try to use document-write or unsized-media, I get a developer console error:

Error with Feature-Policy-Report-Only header: Unrecognized feature: 'document-write'.
Error with Feature-Policy-Report-Only header: Unrecognized feature: 'unsized-media'.

I can't find a list of which feature policy types are currently supported in report-only mode.

@gi11es gi11es changed the title Feature-Policy-Report-Only: what types are supported? Feature-Policy-Report-Only: which types are supported? May 1, 2019
wmfgerrit pushed a commit to wikimedia/operations-mediawiki-config that referenced this issue May 1, 2019
It appears that Chrome 74 still doesn't support those

Files an upstream bug about the lack of clarity
on what is supported:

w3c/webappsec-permissions-policy#305

Bug: T209572
Change-Id: Ib953ddf3a234ce7d8cab9948707ee90639e43412
@pabrai pabrai added question feature question Questions and issues around specific policy-controlled features and removed question labels May 8, 2019
@maxtruxa
Copy link

Implemented feature policies are already documented here. The values described are valid for Feature-Policy as well as Feature-Policy-Report-Only.

Note that the authoritative list of which policies are actually implemented is always the source code (permalink).

The feature policies document-write as well as unsized-media are hidden behind the Chrome/Chromium flag --enable-blink-features=ExperimentalProductivityFeatures.

@gi11es
Copy link
Author

gi11es commented May 16, 2019

Thanks!

@gi11es gi11es closed this as completed May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature question Questions and issues around specific policy-controlled features
Projects
None yet
Development

No branches or pull requests

3 participants