-
Notifications
You must be signed in to change notification settings - Fork 20
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
[Privacy] Clarify steps to generate callbackId #81
Comments
I'm not even sure what a "callback device" is in the question. A callback is basically a Javascript function that can be called by the user agent. A numeric identifier is needed to be able to unregister the callback for cleanup. In Chrome we just find the next integer that's not assigned to any previously registered callback that hasn't been cancelled yet. I'd be wary putting this into an algorithm as it may restrict other user agents in their implementation and worse make web pages depend on the order of ids or something. We can add a note that the identifier MUST not leak any privacy information, however I doubt that's very helpful. |
My reading was that "Callback device" is the device triggering the callback, e.g. a newly discovered remote playback device. |
I think a note clarifying the id generation mechanism would address this concern. I can propose a PR. |
The |
As a follow up on the PR #83, we might want to spec the uniqueness of the id (e.g. within a frame) so that web authors could rely on the behavior suggested by the example. |
Closing as I believe this is addressed by the PR. |
https://lists.w3.org/Archives/Public/public-privacy/2017JanMar/0009.html
I think the spec is clear that it's unique to the media element. Should an algorithm be defined to generate it?
The text was updated successfully, but these errors were encountered: