The default allowlist is 'self', avoiding possible abuse by third party iframes.
Link to blink-dev discussionnavigator.share() is called by embedded iframes. These may expect share() calls to succeed, when now they will fail if permission has not been granted.
Firefox has successfully shipped the feature.
Failures were observed with YouTube, these have now been addressed.
Gecko: Shipped/Shipping (https://github.com/w3c/web-share/pull/252)
WebKit: Shipped/Shipping (https://github.com/w3c/web-share/issues/169) CL recently merged: https://github.com/WebKit/WebKit/commit/ded7a6094a6ca38833e63a7915b7b6a2832f5734
Web developers: No signals
Other signals:
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
N/A - Web Share API is not enabled in WebView.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
No
The Permissions Policy will be supported on all platforms that support Web Share API. Currently, this is Android, Chrome OS, Windows.
Estimated milestones
M110
Anticipated spec changes
-
This intent message was generated by Chrome Platform Status.
Contact emails
Explainer
Specificationhttps://w3c.github.io/web-share/#permissions-policySummaryA new permission policy, "web-share", controls access to navigator.share().The default allowlist is 'self', avoiding possible abuse by third party iframes.
Link to blink-dev discussionNot needed, trivial change to existing spec
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/e4303ef1-c709-4f90-b97b-e2fc4b0f2e2bn%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfV%3DC7ac0_gk89v7sG8X3kyOSxN%3DFH0i2DpCQ2iYrweDzw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/e4303ef1-c709-4f90-b97b-e2fc4b0f2e2bn%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/e4303ef1-c709-4f90-b97b-e2fc4b0f2e2bn%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/47dca6e7-ba39-4222-9c21-723fa372bd3dn%40chromium.org.
Thanks, Marcos. I’ll take care on the Chrome side.