-
Notifications
You must be signed in to change notification settings - Fork 10
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
Use case 1 presumes tight integration #4
Comments
I don't follow you. Both README and spec contain, before the "use case 1", a generic problem description:
Then there are examples of use cases, which are narrowly scoped by definition. |
The attached PR clarified this issue for me. I think we need to decide first what the right level of genericness/specificity is. Do we want to discuss any two applications that want to collaborate, or just video conferencing? What about recording services like Loom and Tella? These aren't VC applications, but the use case is close enough, that I'd like to capture it with the same use-case-N if possible. |
I don't agree that this is a problem that needs fixing. |
The current use case prescribes a solution. This is not how use cases are described. |
In the PR, you suggest adding "standardized API for rudimentary control" as a third example, the other two being workers and shared cloud infrastructure. These other two examples are non-theoretical means. They exist today and are widely used for cross-app collaboration. On the other hand, a hypothetical "standardized API" does not clarify much for me. It seems like shoehorning Actions into the Identity document - and nobody else has expressed a desire for these two APIs to cohabitate in a document. |
How are workers used for cross-app collaboration? |
The same way you use a BroadcastChannel, namely:
So we have three existing mechanisms (shared cloud infrastructure, BroadcastChannel and workers). It's clear enough. Adding "some possible future API" diminishes clarity. Let's close this issue. |
I worry this might break once browsers implement storage partitioning. cc @annevk |
This is an example. If the example ceases to be relevant, we can remove it. The example of shared cloud infrastructure will still be relevant then. |
Shared cloud infrastructure only works when the user is logged in, right? And yeah, what @jan-ivar says above is correct and already true in Safari. |
Typically yes. (What subtext am I missing, though? The example use-case is relevant regardless.)
Are you saying that posting a message to a cross-origin embedded frame would not work? Because it works here. Or are you saying that the BroadcastChannel will not work between tabs? In Chrome, it works here: receiver, sender. I don't know what Safari's plans are with respect to implementation of BroadcastChannel, but I've not heard of plans to deprecate. How will Storage Partitioning impact this? (Also - if it does, we can always revise the list of example. Is this issue important?) |
In a scenario where A and B are top-level tabs and they both embed C, C cannot communicate across its A and B instances. See https://privacycg.github.io/storage-partitioning/. It's relevant because new features need to be designed with that in mind. |
Thanks for the reference.
|
@eladalon1983 Chrome is supportive and is working on it. The APIs won't be deprecated, but they'll work differently. Ask your colleagues on the storage and worker teams. |
Now that the decision has been made to adopt Identity and Actions as separate documents, the presumption of tight integration is appropriate for Identity. Nevertheless, so that we may progress to more productive issues, I have edited the text (document and README) to mention:
Let's iterate when it becomes necessary. |
This is too narrowly scoped. We should define the problem without preemptively limiting solutions.
The text was updated successfully, but these errors were encountered: