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

Document Policy #15

Closed
clelland opened this issue Nov 18, 2020 · 7 comments
Closed

Document Policy #15

clelland opened this issue Nov 18, 2020 · 7 comments

Comments

@clelland
Copy link

clelland commented Nov 18, 2020

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.

@clelland
Copy link
Author

This move was originally suggested by Mozilla folks (w3c/webappsec-permissions-policy#411 most recently, but it had been discussed previously).

Moving to WICG was also discussed in WebAppSec WG meetings in May (minutes) and then again in November (minutes) because I had forgotten about it :)

@yoavweiss
Copy link
Collaborator

Seems like there's enough support for the move to WICG. Do you have a repo you want to move, or should we create a new one?

@clelland
Copy link
Author

It currently lives within the w3c/webappsec-permissions-policy repo, as it split off of that spec, but we shouldn't move the whole repo. Probably best to create a new one, and migrate the relevant issues.

@yoavweiss
Copy link
Collaborator

I've spun up https://github.com/WICG/document-policy and gave you access.

Happy incubating!

@clelland
Copy link
Author

Thanks!

@yoavweiss yoavweiss reopened this Nov 26, 2020
@yoavweiss
Copy link
Collaborator

Let's leave this open to keep track of the proposal through its lifecycle (so, until it graduates to a WG)

@clelland
Copy link
Author

SGTM. (I thought this was more a "proposal to open a new repo" rather than "proposal for a new API")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants