Re: [heycam/webidl] Need pattern for feature detecting dictionary members (#107)

FWIW we had this exact problem with `getUserMedia(constraints)`. We ended up defining [`navigator.mediaDevices.getSupportedConstraints()`](http://w3c.github.io/mediacapture-main/getusermedia.html#widl-MediaDevices-getSupportedConstraints-MediaTrackSupportedConstraints). The implementation was [quite trivial](http://mxr.mozilla.org/mozilla-central/source/dom/media/MediaDevices.h?rev=e22b3043887e#36). :)

Still, that seems like a lot of bloat on the window.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/107#issuecomment-207648519

Received on Friday, 8 April 2016 23:40:06 UTC