Re: [mediacapture-main] Should enumerateDevices by default return an empty list? (#646)

My personal thought:
returning an empty list is an active false statement ("I have no devices") for all code that depends on the current behavior, and is likely to trigger "you can't use this feature until you plug in..." UI.
If we want to break stuff that depends on listing devices without having one open, we should return an error / rejected promise.

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

Received on Thursday, 28 November 2019 22:04:31 UTC