summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/feature_policy/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/feature_policy/README.md')
-rw-r--r--chromium/third_party/blink/renderer/core/feature_policy/README.md18
1 files changed, 10 insertions, 8 deletions
diff --git a/chromium/third_party/blink/renderer/core/feature_policy/README.md b/chromium/third_party/blink/renderer/core/feature_policy/README.md
index c35a27cca0b..11ea7a139af 100644
--- a/chromium/third_party/blink/renderer/core/feature_policy/README.md
+++ b/chromium/third_party/blink/renderer/core/feature_policy/README.md
@@ -1,21 +1,23 @@
-This directory contains the renderer-specific portions of the [Feature
-Policy API](https://wicg.github.io/feature-policy/).
+This directory contains the renderer-specific portions of the
+ [Permissions Policy API](https://w3c.github.io/webappsec-permissions-policy/),
+ and [Document Policy API](https://github.com/w3c/webappsec-permissions-policy/blob/master/document-policy-explainer.md).
This includes:
-* The parser for the HTTP Feature-Policy header and the iframe allow attribute.
+* The parser for the HTTP `Permissions-Policy`/`Feature-Policy` header and the iframe `allow` attribute.
+
+* The parser for the HTTP `Document-Policy` header and the iframe `policy` attribute.
* Helpers for manipulating the parsed declarations.
-* Implementation of the `document.policy` and `iframe.policy` interfaces.
+* Implementation of the `document.featurePolicy` and `iframe.featurePolicy` interfaces.
-## Other feature policy resources
+## Other policy resources
-* The core feature policy algorithms can be found in `/common/feature\_policy/`.
+* The core algorithms can be found in `/common/feature\_policy/`.
* The feature list enum is found in `/public/mojom/feature\_policy/`.
* The recommended API for checking whether features should be enabled or not is
-Document::IsFeatureEnabled() (or SecurityContext::IsFeatureEnabled in a non-
-document context).
+ExecutionContext::IsFeatureEnabled().