{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/mediacapture-main/issues/359","repository_url":"https://api.github.com/repos/w3c/mediacapture-main","labels_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/359/comments","events_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/359/events","html_url":"https://github.com/w3c/mediacapture-main/issues/359","id":154156907,"number":359,"title":"MUST clear requirement for deviceId","user":{"login":"martinthomson","id":67641,"avatar_url":"https://avatars.githubusercontent.com/u/67641?v=3","gravatar_id":"","url":"https://api.github.com/users/martinthomson","html_url":"https://github.com/martinthomson","followers_url":"https://api.github.com/users/martinthomson/followers","following_url":"https://api.github.com/users/martinthomson/following{/other_user}","gists_url":"https://api.github.com/users/martinthomson/gists{/gist_id}","starred_url":"https://api.github.com/users/martinthomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinthomson/subscriptions","organizations_url":"https://api.github.com/users/martinthomson/orgs","repos_url":"https://api.github.com/users/martinthomson/repos","events_url":"https://api.github.com/users/martinthomson/events{/privacy}","received_events_url":"https://api.github.com/users/martinthomson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"aboba","id":808811,"avatar_url":"https://avatars.githubusercontent.com/u/808811?v=3","gravatar_id":"","url":"https://api.github.com/users/aboba","html_url":"https://github.com/aboba","followers_url":"https://api.github.com/users/aboba/followers","following_url":"https://api.github.com/users/aboba/following{/other_user}","gists_url":"https://api.github.com/users/aboba/gists{/gist_id}","starred_url":"https://api.github.com/users/aboba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboba/subscriptions","organizations_url":"https://api.github.com/users/aboba/orgs","repos_url":"https://api.github.com/users/aboba/repos","events_url":"https://api.github.com/users/aboba/events{/privacy}","received_events_url":"https://api.github.com/users/aboba/received_events","type":"User","site_admin":false},"milestone":null,"comments":49,"created_at":"2016-05-11T04:18:44Z","updated_at":"2016-06-02T15:53:36Z","closed_at":null,"body":"I apologize for not properly following the giant cluster of issues around  #322, #326, #328, and #330, but I don't believe that the main reason I opened #322 was properly addressed.\r\n\r\nThe offending text is this:\r\n\r\n>  All enumerable devices have an identifier that MUST be unique to the page's origin. As long as no local device has been attached to a live MediaStreamTrack in a page from this origin, and no stored permission to access local devices has been granted to this origin, then **this identifier MUST NOT be reusable after the end of the current browsing session**.\r\n\r\nAs noted in #322, this is not what browsers currently do.  Nor is it what I believe that they should do.  They should do [what Harald says Chrome does](https://github.com/w3c/mediacapture-main/issues/322#issuecomment-193895840).  The other parts of the text are fine, but this isn't right.\r\n\r\nI would be OK with \"the user agent MAY generate a new identifier for every new realm created for the origin, see [[section with better details]].\""},"comment":{"url":"https://api.github.com/repos/w3c/mediacapture-main/issues/comments/223335752","html_url":"https://github.com/w3c/mediacapture-main/issues/359#issuecomment-223335752","issue_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/359","id":223335752,"user":{"login":"ShijunS","id":6752976,"avatar_url":"https://avatars.githubusercontent.com/u/6752976?v=3","gravatar_id":"","url":"https://api.github.com/users/ShijunS","html_url":"https://github.com/ShijunS","followers_url":"https://api.github.com/users/ShijunS/followers","following_url":"https://api.github.com/users/ShijunS/following{/other_user}","gists_url":"https://api.github.com/users/ShijunS/gists{/gist_id}","starred_url":"https://api.github.com/users/ShijunS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShijunS/subscriptions","organizations_url":"https://api.github.com/users/ShijunS/orgs","repos_url":"https://api.github.com/users/ShijunS/repos","events_url":"https://api.github.com/users/ShijunS/events{/privacy}","received_events_url":"https://api.github.com/users/ShijunS/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T15:53:36Z","updated_at":"2016-06-02T15:53:36Z","body":"@stefhak, regarding the [Comment](https://github.com/w3c/mediacapture-main/issues/359#issuecomment-223202572), there seems to be different understandings of the spec.  Let me share my view and hopefully we can clarify together.\r\n\r\nThe spec defined two conditions in this case:\r\na. if \"any local devices have been attached to a live MediaStreamTrack in a page from this origin\", **or**\r\nb. if \"stored permission to access local devices has been granted to this origin\"\r\n\r\nHere are two options to read condition-a\r\n1. A local device \"has been\" attached to a live MediaStreamTrack, and is still in use by a page from this origin.\r\n2. A local device \"had been\" used in the past at least once by a page from this origin.\r\n\r\nOption-1 is independent from condition-b, so it makes sense to me for the spec to define this as condition-a **or** condition-b.\r\n\r\nOption-2 would have to need more clarifications, for examples...\r\n- This seems a superset of condition-b at least in typical user scenarios, so makes condition-b redundant.\r\n- It is not clear when this condition can be revoked, for example, when user clears cookies or histories, etc.  \r\n- It is not clear how users would know that they are still providing the fingerprints even after they have purposely revoked a stored permission to use their local devices by the specific origin. "}}
{"actor":{"display_login":"ShijunS"}}