Re: [mediacapture-main] Allow ondevicechange to be fired before permission is granted or any device is opened

> Mandate that enumerateDevices() return old data until the event has 
fired.

This seems reasonable to not make enumerateDevices() more "powerful" 
than listening for the event. It also aligns well with how events 
usually work with state updates and then event fire synchronously in a
 queued task.

-- 
GitHub Notification of comment by adam-be
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/402#issuecomment-251943522
 using your GitHub account

Received on Thursday, 6 October 2016 12:10:47 UTC