Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=882145
5 -->
6 <head>
7 <meta charset="utf-8">
8 <title>Test mozGetUserMedia Constraints</title>
9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
10 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
11 <script type="application/javascript" src="head.js"></script>
12 <script type="application/javascript" src="constraints.js"></script>
13 </head>
14 <body>
15 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=882145">Test mozGetUserMedia Constraints (desktop)</a>
16 <p id="display"></p>
17 <div id="content" style="display: none">
19 </div>
20 <pre id="test">
21 <script type="application/javascript">
22 /**
23 See constraints.js for testConstraints() and common_tests.
24 TODO(jib): Merge desktop and mobile version of these tests again (Bug 997365)
25 */
26 var desktop_tests = [
27 { message: "legacy facingMode ignored (desktop)",
28 constraints: { video: { mandatory: { facingMode:'left' } }, fake: true },
29 error: null },
30 ];
32 runTest(function () {
33 testConstraints(common_tests.concat(desktop_tests));
34 });
37 </script>
38 </pre>
39 </body>
40 </html>