W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2019

[mediacapture-main] enumerateDevices can be used to track user devices in background pages (#561)

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Thu, 24 Jan 2019 04:54:53 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-402542512-1548305692-sysbot+gh@w3.org>
youennf has just created a new issue for https://github.com/w3c/mediacapture-main:

== enumerateDevices can be used to track user devices in background pages ==
enumerateDevices currently use [storedDeviceList] to return the same list of devices as long as there is no devicechange event. devicechange events only fire when page has focus.
enumerateDevices can still be used on an iframe being reloaded every 1 second to gather the exact number of devices since [storedDeviceList] is initially null.

As per the spec, if the origin was granted once device access (say for a funny hat cool game), any page of that origin will be able to monitor in near realtime the exact list of devices including labels.

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/561 using your GitHub account
Received on Thursday, 24 January 2019 04:54:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:54 UTC