W3C home > Mailing lists > Public > public-secondscreen@w3.org > May 2017

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

From: Anton Vayvod via GitHub <sysbot+gh@w3.org>
Date: Thu, 04 May 2017 23:13:14 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-299334321-1493939592-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Thursday, 4 May 2017 23:13:21 UTC