Re: [mediacapture-main] Allow device capabilities to be discoverable via enumerateDevices

@adam-be It shouldn't be a problem in theory, which is why I filed 
https://github.com/heycam/webidl/issues/57.

I think my issue would be we're talking about a future dictionary we 
haven't defined. I suppose if we defined `OutputCapabilities` now and 
left it empty, then future specs could use `partial dictionary 
OutputCapabilities` to add to it?

On the other hand, the value of this over just using `partial 
dictionary MediaTrackCapabilities` may seem marginal, except it solves
 the inconsistent naming perhaps.

I still worry the invariant becomes buried, and users will end up 
testing for every field (though arguably current implementations can 
be blamed a bit here).

-- 
GitHub Notif of comment by jan-ivar
See 
https://github.com/w3c/mediacapture-main/pull/211#issuecomment-141549002

Received on Friday, 18 September 2015 19:42:49 UTC