Re: [mediacapture-main] Webidl fixes

As you can imagine, I do like the idea of returning an object but do 
NOT like the idea of re-using MediaTrackConstraintSet.  As I've said 
before, if we are going to go to the trouble of defining dictionaries 
using WebID in order to provide some sort of contract for the objects,
 then we should define the proper one.  Without knowing what, if 
anything we might want to return in the future here, I'd rather define
 a new type that only allows boolean values to be returned for each 
supported constrainable property.  Or, alternatively, define a new 
type that allows any simple or object value to be returned, without 
saying anything about the object's structure but defining that truthy 
values (including {}) mean that the constrainable property is 
supported.

-- 
GitHub Notif of comment by burnburn
See 
https://github.com/w3c/mediacapture-main/pull/143#issuecomment-82369328

Received on Tuesday, 17 March 2015 14:03:00 UTC