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

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

Issue 2741803007: Image Capture: MediaTrackSupportedConstraints extension (Closed)
Patch Set: 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/Source/modules/mediastream/MediaTrackSupportedConstraints.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script>
5
6 // Tests that getSupportedConstraints() returns what it should.
7 test(function() {
8 supported_constraints = navigator.mediaDevices.getSupportedConstraints();
9
10 assert_true(supported_constraints.whiteBalanceMode);
11 assert_true(supported_constraints.exposureMode);
12 assert_true(supported_constraints.focusMode);
13 assert_true(supported_constraints.pointsOfInterest);
14 assert_true(supported_constraints.exposureCompensation);
15 assert_true(supported_constraints.colorTemperature);
16 assert_true(supported_constraints.iso);
17 assert_true(supported_constraints.brightness);
18 assert_true(supported_constraints.contrast);
19 assert_true(supported_constraints.saturation);
20 assert_true(supported_constraints.sharpness);
21 assert_true(supported_constraints.zoom);
22 assert_true(supported_constraints.torch);
23 }, 'Iamge Capture supported constraints');
24
25 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698