Bug 26654 (Part 2: Webidl in Constrainable)

Split https://github.com/w3c/mediacapture-main/pull/22 into two parts on request.