Make Permissions-Policy HTTP header OPTIONAL (#275) · w3c/web-share@d0ea0fe
marcoscacere
·
2023-03-01
·
via Recent Commits to web-share:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -716,6 +716,10 @@ <h2>
|
716 | 716 | allowlist/'self'=], which means third-party contexts are not [=allowed |
717 | 717 | to use=] the API by default. |
718 | 718 | </p> |
| 719 | +<p> |
| 720 | + It is OPTIONAL for user agents to support |
| 721 | + [[[PERMISSIONS-POLICY]]]'s `Permissions-Policy` HTTP header. |
| 722 | +</p> |
719 | 723 | <p> |
720 | 724 | Developers can use the means afforded by the [[[permissions-policy]]] |
721 | 725 | specification to control if and when a third-party context is [=allowed |
@@ -725,7 +729,7 @@ <h2>
|
725 | 729 | <p> |
726 | 730 | Although user agents are unified in preventing the Web Share API from |
727 | 731 | being used in third-party context, at the time of publication there |
728 | | - are interoperability with relying on the [[[Permissions-Policy]]] to |
| 732 | + are interoperability issues with relying on the [[[Permissions-Policy]]] to |
729 | 733 | enable the API in third-party contexts. In particular, although |
730 | 734 | the[^iframe/allow^] attribute is widely supported, the updated syntax |
731 | 735 | for the [^iframe/allow^] attribute is not. Similarly, the |
@@ -734,6 +738,11 @@ <h2>
|
734 | 738 | [[[Permissions-Policy]]] specification before relying on it to enable |
735 | 739 | the Web Share API in third-party contexts. |
736 | 740 | </p> |
| 741 | +<p> |
| 742 | + When the `Permissions-Policy` HTTP header is more widely supported, |
| 743 | + the Working Group expects to revise this specification |
| 744 | + to require support for the header. |
| 745 | +</p> |
737 | 746 | </aside> |
738 | 747 | </section> |
739 | 748 | <section class="informative" id="a11y"> |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。