-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Introduction
This was originally proposed on Discourse, but this seems to be the new place for proposals.
Document Policy is a configuration mechanism for the web platform, allowing site authors (for instance) to enable or disable the use of platform APIs, improve their performance by setting thresholds for the sizes or efficiency of images, or sandbox individual frames.
It has split from Feature Policy, as a means of configuring features other than permissions, and so currently lives in a W3C WebAppSec WG repo. The spec is already in progress there, but the consensus of the WG is that it should be incubated at WICG while it is completed, and while we gather implementer interest.
Read the complete Explainer or the spec
Document Policy is under review by TAG.
It has been partially shipped in Chrome to support the "Scroll-to-text-fragment" feature.
Feedback (Choose One)
Please provide all feedback below.