From 2c5c3aa1248d07db60323bbff3f3cd225faf024f Mon Sep 17 00:00:00 2001 From: Raymes Khoury Date: Tue, 10 Oct 2017 16:03:15 +1100 Subject: [PATCH 1/2] Add support for permissions that have an associated Feature Policy This adds support for denying access to permissions which are not allowed in the current context based on an associated Feature Policy. The Feature Name and Default Allowlist of a policy-controlled feature must still be declared in the owning spec. This also removes specific support for the media feature policy which is covered by the more general support. --- index.bs | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/index.bs b/index.bs index 91c848b..d848df0 100644 --- a/index.bs +++ b/index.bs @@ -44,6 +44,11 @@ spec: sensors; urlPrefix: https://w3c.github.io/sensors/# spec: manifest; urlPrefix: https://w3c.github.io/manifest/# type: dfn text: install; url: dfn-install +spec: feature-policy; urlPrefix: https://wicg.github.io/feature-policy/# + type: dfn + text: policy-controlled feature + type: dfn + text: feature name