New issue
Advanced search Search tips

Issue 750259 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac , Fuchsia
Pri: 2
Type: Feature

Blocked on:
issue 726739



Sign in to add a comment

Update Feature-Policy header syntax

Project Member Reported by iclell...@chromium.org, Jul 28 2017

Issue description

We want to implement the new (csp-based) header syntax for the Feature-Policy HTTP header.

So, rather than the JSON:

Feature-Policy: {"fullscreen": ["*"], "usb": [], "payment": ["self", "https://payment.example.com"]}

we would accept

Feature-Policy: fullscreen "*"; usb "none"; payment "self" https://payment.example.com

This should reuse as much of the existing CSP parser as possible, and should end up being the same parser used for the <iframe allow> attribute.
 
Cc: lunalu@chromium.org
Blockedon: 726739
Cc: -lunalu@chromium.org loonyb...@chromium.org
Iframe "allow" attribute is also adapting the new syntax. Both header policy and container policy will be using CSP parser, so the work can be either in parallel or one after another. 
Could the spec be updated:

https://wicg.github.io/feature-policy/

Kind of important, considering Chrome 62 will be stable on the 17th October :-)
Cc: -loonyb...@chromium.org iclell...@chromium.org
Owner: loonyb...@chromium.org
Hi Ian, if I recall correctly, you are working on updating the spec right?

Thanks
FYI, the new header syntax has already been updated. But spec yet needs to be updated.
Status: Started (was: Available)
Status: Fixed (was: Started)

Sign in to add a comment