-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR Request for Web Share API #476
Comments
Section 4 indicates that, by default, the API is not allowed to be used in cross-origin contexts. It says so in the sentence "Its default allowlist is 'self'.". Given the incomplete state/lack of implementations for Permissions Policy, section 4 should indicate explicitly the intent of the Web Share API regarding cross-origin, independently of Permissions Policy. It can do so by adding a third sentence to the first paragraph of section 4, either by copying the definition of self or paraphrasing the intent. In addition, an editorial note will need to be added to that section to alert developers on the current lack of implementation experience from Permission Policy. That note should also be included in the call for AC review. The transition request did not make it clear if the Recommendation will be allowed to add new features without cycling back. Don't forget to indicate this in the status of the document of the Proposed Recommendation if that's the intent. By the way, the reference to 'self' in section 4 uses a broken fragment that will need to be fixed. Assuming the changes mentioned above are done, this transition is approved. |
@plehegar, you are correct that that Permissions Policy, as it now stands, is not fully interoperable - particularly with respect to the HTTP header. As background for others subscribed to this thread, this because the HTTP header was renamed and implementations haven't been updated to match. However, the
The normative behavior is governed by the "allowed to use" check, which occurs as part of However, I've added the following to make the intent clear:
@plehegar also requested...
I've added the following note:
And finally...
fixed. |
@siusin I've sent w3c/web-share#256 ... if it looks ok, please merge and we can use it as the basis for publication. |
Oops, forgot this:
The spec is marked as
ReSpec might need updating if we want to show that automatically in PR (or even CR). I've added it manually for now. |
I believe your PR has addressed all the issues mentioned. @plehegar do you agree?
I guess PLH misread this sentence. Actually, the auto-text of ReSpec is good enough. |
@marcoscaceres @siusin , this all sounds good to me |
Spec was published on 2022-12-15: |
Document title, URLs, estimated publication date
Web Share API
https://www.w3.org/TR/web-share/
W3C Proposed Recommendation 06 December 2022
Abstract
This specification defines an API for sharing text, links and other content to an arbitrary destination of the user's choice.
The available share targets are not specified here; they are provided by the user agent. They could, for example, be apps, websites or contacts.
Status
This document was published by the Web Applications Working Group as a Proposed Recommendation using the Recommendation track.
Publication as a Proposed Recommendation does not imply endorsement by W3C and its Members.
This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress. Future updates to this specification may incorporate new features.
The W3C Membership and other interested parties are invited to review the document and send comments through 06 December 2022. Advisory Committee Representatives should consult their WBS questionnaires. Note that substantive technical comments were expected during the Candidate Recommendation review period that ended 08 November 2022 (?).
This document was produced by a group operating under the W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.
This document is governed by the 2 November 2021 W3C Process Document.
Will new features be allowed to be incorporated in the Recommendation?
Yes.
Link to group's decision to request transition
w3c/web-share#253
Changes
No.
Requirements satisfied
No.
Dependencies met (or not)
Web Share API has a few normative references on Permissions Policy. This was identified as one "feature at risk" (#169) during the CR, but it's now resolved and interoperable across all user agents.
Wide Review
Issues addressed
All the outstanding issues for Web Share API are now resolved, the only open issue in the repo is just for advisory.
Formal Objections
None.
Implementation
https://wpt.fyi/web-share
https://www.w3.org/TR/web-share/#implementation-status
The spec is implemented in an interoperable manner across all major browser engines across a range of platforms and has wide usage across the Web.
The test results indicate the implementation of the Permissions Policy integration is not perfect at the moment. The group believes this will be improved with the ongoing effort to complete the Permissions Policy spec.
Patent disclosures
https://www.w3.org/groups/wg/webapps/ipr
The text was updated successfully, but these errors were encountered: