Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/imagecapture/ImageCapture-MediaTrackSupportedConstraints.html

Issue 2773593004: Image Capture: prune Photo{Capabilities/Settings} and add MediaTrackConstraintSet.pointsOfInterest (Closed)
Patch Set: reillyg@ comments on idl urls. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <script src="../../resources/testharness.js"></script> 2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script> 3 <script src="../../resources/testharnessreport.js"></script>
4 <script> 4 <script>
5 5
6 // Tests that getSupportedConstraints() returns what it should. 6 // Tests that getSupportedConstraints() returns what it should.
7 test(function() { 7 test(function() {
8 supported_constraints = navigator.mediaDevices.getSupportedConstraints(); 8 supported_constraints = navigator.mediaDevices.getSupportedConstraints();
9 9
10 assert_true(supported_constraints.whiteBalanceMode); 10 assert_true(supported_constraints.whiteBalanceMode);
11 assert_true(supported_constraints.exposureMode); 11 assert_true(supported_constraints.exposureMode);
12 assert_true(supported_constraints.focusMode); 12 assert_true(supported_constraints.focusMode);
13 assert_true(supported_constraints.pointsOfInterest); 13 assert_true(supported_constraints.pointsOfInterest);
14 assert_true(supported_constraints.exposureCompensation); 14 assert_true(supported_constraints.exposureCompensation);
15 assert_true(supported_constraints.colorTemperature); 15 assert_true(supported_constraints.colorTemperature);
16 assert_true(supported_constraints.iso); 16 assert_true(supported_constraints.iso);
17 assert_true(supported_constraints.brightness); 17 assert_true(supported_constraints.brightness);
18 assert_true(supported_constraints.contrast); 18 assert_true(supported_constraints.contrast);
19 assert_true(supported_constraints.saturation); 19 assert_true(supported_constraints.saturation);
20 assert_true(supported_constraints.sharpness); 20 assert_true(supported_constraints.sharpness);
21 assert_true(supported_constraints.zoom); 21 assert_true(supported_constraints.zoom);
22 assert_true(supported_constraints.torch); 22 assert_true(supported_constraints.torch);
23 }, 'Iamge Capture supported constraints'); 23 }, 'Image Capture supported constraints');
24 24
25 </script> 25 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imagecapture/MediaStreamTrack-applyConstraints.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698