-
Notifications
You must be signed in to change notification settings - Fork 65
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
Drop the levels/versioning #107
Comments
Probably @hortont424 or myself. |
Thanks @hober @hortont424. Would really like your input about the above: the non-standard features that Chrome is currently shipping in their "v2" of Web Share. On the Mozilla side, we are not ready to commit to the features that are in V2 until we've done a more thorough security and privacy evaluation of what's being added - sharing files is pretty scary, so we need a good security model for that. Thus, I'd personally like for V2 to become pull requests rather than being a separate document. Otherwise, it risks sending confusing messages to developers (i.e., that there is consensus on the v2 feature set, when right now there is none). That's not to say there is anything wrong with the V2 stuff - sharing files is obviously really important as a use case... but from the Mozilla perspective, would rather go into this with some WebKit support too. |
I've talked about this with a few colleagues and I think we're generally supportive of adding file sharing. Like @marcoscaceres, I'd prefer a level-less approach where new features come in as PRs on one document. |
Yep, we're happy to piece-by-piece merge V2 into V1 spec. Should we wait for a second implementation on each piece before merging? |
I can commit to prototyping both methods (and hopefully land them proper) in Gecko over the next few months. We might be able to land the changes in the spec before we ship, but just want to make sure we have some cross-engine implementation experience. |
Can we at the very least update the URL shown on the project page from |
We probably shouldn't, since the way we're looking at these two "levels" (probably the wrong word now) is that L1 is the "official" W3C spec that's been agreed upon by multiple parties, while L2 contains features that have not been approved. It's more like a WICG, even though it isn't in a WICG repo. Marcos has said he wants to add more "unofficial" text to the L2 spec, similar to a WICG. Possibly it should actually go to a WICG repo, but I don't want the overhead of maintaining two repos for one API. I am happy if we want to use the WICG incubator style settings on the L2 document, so that it displays "Unofficial Draft" at the top. |
We are discussing what to do more generally in WICG/admin#102 ... it's complicated, but we are open to proposals. |
If you're saying it's an incubation and not standards track, then it's wrong for it to be in a Working Group, as Working Groups are not chartered for incubation work; it should actually be in WICG instead. The front matter of the spec claims it's a WICG deliverable, but it's not documented as such in official WICG lists of incubations such as this or this. I also could not find signs on https://discourse.wicg.io of Web Share Level 2 being adopted by WICG. I was able to find the adoption for the original Web Share, but that was handed off to Web App sWG. Maybe there are missing records, but the Web Share Level 2 spec should not claim to be a WICG deliverable if it isn't. Note: this is not a commentary on the features in level 2. I believe WebKit has even implemented some of them, though not yet shipping. And we'd support promoting any features we implement that have multi-engine support to the main spec. |
So, the confusion around the L1 and L2 was that they were both WICG documents before we moved everything to the WebAppsWG. The separation was made between L1 and L2 based on L1 features being implemented in both Chrome and Safari... the L2 stuff was just Chrome specific at the time. In #107 @hober and I requested that the L2 stuff just get moved into L1, and we just drop levels entirely. |
For when we move to Web Apps WG, we should consider dropping the spec Levels... instead, we should make pull requests for the level 2 features and try to get other browser vendors behind it. It seems like we (Mozilla) might be willing to support
.canShare()
and sharingFile
s out of the box, so that would give us two implementations (bar review of the actual features, that we are yet to do)... we would then need to sell the Safari folks on supporting those features 🤞.The text was updated successfully, but these errors were encountered: