Index: third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints-getSettings.html |
diff --git a/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints-getSettings.html b/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints-getSettings.html |
index 4b6a9a121d203a2b317c44eda39c9738375c1a03..cfbb98545f88382b7e2652e99d60ef86d629eab0 100644 |
--- a/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints-getSettings.html |
+++ b/third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints-getSettings.html |
@@ -66,10 +66,21 @@ async_test(function(t) { |
assert_equals(constraints.advanced[0].focusMode, settings.focusMode, |
'focusMode'); |
+ assert_equals(constraints.advanced[0].pointsOfInterest.length, |
+ settings.pointsOfInterest.length, 'pointsOfInterest'); |
+ for (i = 0; i < constraints.advanced[0].pointsOfInterest.length; ++i) { |
+ assert_approx_equals(constraints.advanced[0].pointsOfInterest[i].x, |
+ settings.pointsOfInterest[i].x, 0.01, |
+ 'pointsOfInterest x'); |
+ assert_approx_equals(constraints.advanced[0].pointsOfInterest[i].y, |
+ settings.pointsOfInterest[i].y, 0.01, |
+ 'pointsOfInterest y'); |
+ } |
+ |
assert_equals(constraints.advanced[0].exposureCompensation, |
- settings.exposureCompensation, 'exposure_compensation'); |
+ settings.exposureCompensation, 'exposureCompensation'); |
assert_equals(constraints.advanced[0].colorTemperature, |
- settings.colorTemperature, 'color_temperature'); |
+ settings.colorTemperature, 'colorTemperature'); |
assert_equals(constraints.advanced[0].iso, settings.iso, 'iso'); |
assert_equals(constraints.advanced[0].brightness, settings.brightness, |