Re: [remote-playback] [Privacy] Clarify steps to generate callbackId

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.

-- 
GitHub Notification of comment by avayvod
Please view or discuss this issue at https://github.com/w3c/remote-playback/issues/81#issuecomment-299334321 using your GitHub account

Received on Thursday, 4 May 2017 23:13:21 UTC