mdn / content

The content behind MDN Web Docs
https://developer.mozilla.org
Other
9.19k stars 22.48k forks source link

Unwritten documentation of Permissions-Policy directives #30758

Open skyclouds2001 opened 11 months ago

skyclouds2001 commented 11 months ago

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

here are many Permissions-Policy directives that have its browser compat data, but does not have its documentation yet

attribution-reporting browsing-topics

here are also many Permissions-Policy directives that at least one browser platform, but does not have its browser compat data or documentation yet

here is two much so I do not list these here

a list of supported Permissions-Policy directives of current browser can be tested via document.featurePolicy.features()

What did you expect to see?

.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

hamishwillee commented 11 months ago

Yes. This is a good task. I typically only revisit this page when Firefox add new features, and then update everything.

anushatomar13 commented 10 months ago

Hey @skyclouds2001 ! I would love to work on this issue. It would be great if you could please assign it to me! Thanks!

skyclouds2001 commented 10 months ago

Hey @skyclouds2001 ! I would love to work on this issue. It would be great if you could please assign it to me! Thanks!

Sorry, I can't assign this issue to you, because I don't have the permission

But if you are eager to work on this issue, it's fine just to create a pull request that will fix this issue

Josh-Cena commented 4 months ago

I have counted the following permission features available in Chrome by default that are not documented:

Some are mentioned elsewhere while others are totally undocumented on MDN.

hamishwillee commented 4 months ago

FYI the clipboard API ones are a little complicated in that clipboard-read is not in the spec, and neither clipboard-read or write are intended to be implemented by Firefox. Covered here https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API#security_considerations . I omitted docs for those when I did the rest of the API :-(.

NOte also that https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/attribution-reporting was recently documented (originally reported as undocumented above)