Chromium Code Reviews
DescriptionImageCapture: don't list |torch| in Capabilities if not supported
Currently MediaStreamTrack.getCapabilities() returns
torch : false
when |torch| is not supported; this CL aligns with the
other dictionary members behaviour, which is to not
show up in the Capabilities dictionary when not supported.
BUG=712719
Review-Url: https://codereview.chromium.org/2827693003
Cr-Commit-Position: refs/heads/master@{#465373}
Committed: https://chromium.googlesource.com/chromium/src/+/31b31da235decd6c593745e98f77b55ff9270cb4
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||