[mediacapture-main] Pull Request: Fix applyConstraints steps to avoid unused var and bail on reject.

jan-ivar has just submitted a new pull request for 
https://github.com/w3c/mediacapture-main:

== Fix applyConstraints steps to avoid unused var and bail on reject.
  ==
The steps never bail after rejecting the promise, causing 
*newConstraints* to be applied regardless of failure. I also removed 
the use of the undefined *existingConstraints* variable.

See https://github.com/w3c/mediacapture-main/pull/272

Received on Saturday, 14 November 2015 04:06:37 UTC