From bee23445a3c1aa204d7a48fd31850bc08633ba8b Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Mon, 12 Dec 2022 11:41:25 +1100 Subject: [PATCH 1/2] Editorial: address Proposed Rec feedback --- index.html | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index ef68ca4..5e7389f 100644 --- a/index.html +++ b/index.html @@ -190,7 +190,7 @@

text: "This is a text to share", someFutureThing: "some future thing", }; - + // Things that are not supported... const unsupported = Object.entries(data).filter(([key, value]) => { return !navigator.canShare({ [key]: value }); @@ -200,8 +200,8 @@

Enabling the API in third-party contexts

- The [=default allowlist=] of `'self'` makes Web Share API available by - default only in first-party contexts. + The [=default allowlist=] of [=default allowlist/'self'=] makes Web + Share API available by default only in first-party contexts.

Third-party can be allowed to use this API via an [^iframe^]'s @@ -680,20 +680,28 @@

This specification defines a policy-controlled permission identified by the string "web-share". Its - default allowlist is [=default allowlist/'self'=]. + [=default allowlist=] is [=default allowlist/'self'=], which means + third-party contexts are not [=allowed to use=] the API by default.

Developers can use the means afforded by the [[[permissions-policy]]] specification to control if and when a third-party context is [=allowed to use=] this API.

-
+
+

From ed052537bdf962db72b6d7fd778df42090f96341 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Mon, 12 Dec 2022 11:53:28 +1100 Subject: [PATCH 2/2] Add test about updatable-rec --- index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.html b/index.html index 5e7389f..b85cf5a 100644 --- a/index.html +++ b/index.html @@ -77,6 +77,11 @@

more available across all OSs over time, and is already widely available on popular OSs across a range of devices.

+

+ + Future updates to this Recommendation may incorporate [new + features](https://www.w3.org/2021/Process-20211102/#allow-new-features). +