From 77c3272f23750a3ccbfaf9684792aa851bd28299 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Thu, 23 Feb 2023 15:41:49 +1100 Subject: [PATCH 1/3] Make Permissions-Policy HTTP header OPTIONAL --- index.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.html b/index.html index 856afa9..47d6f50 100644 --- a/index.html +++ b/index.html @@ -690,6 +690,10 @@

allowlist/'self'=], which means third-party contexts are not [=allowed to use=] the API by default.

+

+ It is OPTIONAL for user agents for user agents to support + [[[PERMISSIONS-POLICY]]]'s `Permissions-Policy` HTTP header. +

Developers can use the means afforded by the [[[permissions-policy]]] specification to control if and when a third-party context is [=allowed @@ -708,6 +712,11 @@

[[[Permissions-Policy]]] specification before relying on it to enable the Web Share API in third-party contexts.

+

+ The Working Group expects to make the `Permissions-Policy` HTTP + header mandatory in a future revisions of this specification, once + the header is more widely supported. +

From c00f2155076a0828752c833bceccb42bdc5ef22b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Mon, 27 Feb 2023 16:44:45 -0800 Subject: [PATCH 2/3] Update index.html Co-authored-by: Thomas Steiner --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 47d6f50..0bfd6a5 100644 --- a/index.html +++ b/index.html @@ -691,7 +691,7 @@

to use=] the API by default.

- It is OPTIONAL for user agents for user agents to support + It is OPTIONAL for user agents to support [[[PERMISSIONS-POLICY]]]'s `Permissions-Policy` HTTP header.

From 89cf57daf0eafd63b6888b8c6330e6fa79f4dd5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tantek=20=C3=87elik?= Date: Tue, 28 Feb 2023 13:23:24 -0800 Subject: [PATCH 3/3] Update index.html An editorial fix (the word "issues" was implied but missing), and rewrite last sentence of future spec expectations to improve grammar, remove use of a passive "mandatory" phrase. Feel free to revise that sentence further. --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 0bfd6a5..1633146 100644 --- a/index.html +++ b/index.html @@ -703,7 +703,7 @@

Although user agents are unified in preventing the Web Share API from being used in third-party context, at the time of publication there - are interoperability with relying on the [[[Permissions-Policy]]] to + are interoperability issues with relying on the [[[Permissions-Policy]]] to enable the API in third-party contexts. In particular, although the[^iframe/allow^] attribute is widely supported, the updated syntax for the [^iframe/allow^] attribute is not. Similarly, the @@ -713,9 +713,9 @@

the Web Share API in third-party contexts.

- The Working Group expects to make the `Permissions-Policy` HTTP - header mandatory in a future revisions of this specification, once - the header is more widely supported. + When the `Permissions-Policy` HTTP header is more widely supported, + the Working Group expects to revise this specification + to require support for the header.