Bug 1732410 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The `enumerateDevices()` [specification](https://w3c.github.io/mediacapture-main/#dom-mediadevices-enumeratedevices) has [changed](https://github.com/w3c/mediacapture-main/pull/574/files#diff-1217ca1c44ff30a33dd50c49d03b5cadc9633c789df8ff9370ed4a42859e1211R3143-R3146) so that it "MUST wait" for ["fully active and focus"](https://w3c.github.io/mediacapture-main/#device-enumeration-can-proceed) to proceed if a `getUserMedia()` request has not yet been granted.

If a `getUserMedia()` request has not been granted, then "The User Agent MAY wait to proceed to the next step until document is fully active and has focus."  This would provide better protection against fingerprinting and is simpler to implement given that the wait is required in some circumstances, so this is my planned approach.
The `enumerateDevices()` [specification](https://w3c.github.io/mediacapture-main/#dom-mediadevices-enumeratedevices) has [changed](https://github.com/w3c/mediacapture-main/pull/574/files#diff-1217ca1c44ff30a33dd50c49d03b5cadc9633c789df8ff9370ed4a42859e1211R3143-R3146) so that it "MUST wait" for ["fully active and focus"](https://w3c.github.io/mediacapture-main/#device-enumeration-can-proceed) to proceed if a `getUserMedia()` request has not yet been granted.

If a `getUserMedia()` request has been granted, then "The User Agent MAY wait to proceed to the next step until document is fully active and has focus."  This would provide better protection against fingerprinting and is simpler to implement given that the wait is required in some circumstances, so this is my planned approach.

Back to Bug 1732410 Comment 0