- From: Adam Bergkvist via GitHub <sysbot+gh@w3.org>
- Date: Thu, 11 Jun 2015 07:11:36 +0000
- To: public-media-capture-logs@w3.org
I think `TypeError` makes sense when at least one `required` member is present (since it's actually possible to determine that a JavaScript object, missing that member, cannot represent the dictionary type). As you describe, it's a bit trickier in our case since we have an "unconstrained" dictionary. If we add prose that, along with the dictionary WebIDL, makes up the new definition of the `MediaStreamConstraints` dictionary type, then I think `TypeError` might be appropriate. -- GitHub Notif of comment by adam-be See https://github.com/w3c/mediacapture-main/issues/189#issuecomment-111019174
Received on Thursday, 11 June 2015 07:11:38 UTC