| Index: third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-impossible-constraint.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-impossible-constraint.html b/third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-impossible-constraint.html
|
| index a05642eb419322288495aa4ab0d03bc1e2e6e91b..d8d6d9a8d96c239308f73e8f2e7e435ab63d7844 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-impossible-constraint.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-impossible-constraint.html
|
| @@ -9,8 +9,8 @@
|
| <body>
|
| <p class="instructions">When prompted, accept to share your video stream.</p>
|
| <h1 class="instructions">Description</h1>
|
| -<p class="instructions">This test checks that setting a trivial mandatory
|
| -constraint (width >=0) in getUserMedia works</p>
|
| +<p class="instructions">This test checks that setting an impossible mandatory
|
| +constraint (width >=infinity) in getUserMedia works</p>
|
|
|
| <div id='log'></div>
|
| <script src=/resources/testharness.js></script>
|
| @@ -19,7 +19,7 @@ constraint (width >=0) in getUserMedia works</p>
|
| <script>
|
| var t = async_test("Tests that setting an impossible constraint in getUserMedia fails", {timeout:10000});
|
| t.step(function() {
|
| - navigator.getUserMedia({video: {mandatory: {width: {min:Infinity}}}}, t.step_func(function (stream) {
|
| + navigator.getUserMedia({video: {width: {min:Infinity}}}, t.step_func(function (stream) {
|
| assert_unreached("a Video stream of infinite width cannot be created");
|
| t.done();
|
| }), t.step_func(function(error) {
|
|
|