If the red eye reduction capability says "never", then takePhoto({advanced: [{redEyeReduction : true}]}) should fail. This should apply to all photoSettings options.
Labels: -OS-Chrome OS-All Owner: mcasas@chromium.org Status: Assigned (was: Unconfirmed) Summary: Image Capture: reject settings/options if value is beyond supported and/or can't be applied (was: Image Capture: takePhoto(options) should reject if options can't be applied)
this also applies to e.g. trying to configure a capability
to a not supported range, e.g. if theTrack.getCapabilities()
says {... brightness : { min: 0, max: 255, step:1}...}, then
theTrack.applyConstraints({advanced: [{ brightness: 345 }] });
should be rejected.
Your change meets the bar and is auto-approved for M59. Please go ahead and merge the CL to branch 3071 manually. Please contact milestone owner if you have questions.
Owners: amineer@(Android), cmasso@(iOS), gkihumba@(ChromeOS), Abdul Syed@(Desktop)
For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Comment 1 by mcasas@chromium.org
, May 11 2017