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 feature detection #27

Open
clelland opened this issue Jul 23, 2020 · 2 comments
Open

Document Policy feature detection #27

clelland opened this issue Jul 23, 2020 · 2 comments

Comments

@clelland
Copy link
Collaborator

For Permissions Policy, there is a policy object on the document and on iframes which can be used to inspect the active policy, or see the policies supported by the UA, and can indirectly be used to detect whether Permissions Policy is even supported at all.

Do we need something like that for Document Policy? A list of supported configuration points, and/or their current settings, or even a way in script to tell that Document Policy is available in the browser?

@annevk
Copy link

annevk commented Aug 5, 2020

I'm actually wondering if we need it for Permissions Policy since there's also the Permissions API which could be used for most things instead.

@clelland clelland transferred this issue from w3c/webappsec-permissions-policy Dec 1, 2020
@adhithyar
Copy link

Are there any plans for API that can be used to query for available document policies from JS? We would like to have this API to gracefully degrade if a specific policy is not available.

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

No branches or pull requests

3 participants