Index: third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-optional-constraint.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-optional-constraint.html b/third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-optional-constraint.html |
index deb74a307f6c08a9f9b90071a5b74d297fd941a1..7e69ca03fe9fe30ecc1cb7b7c885966f284df757 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-optional-constraint.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-optional-constraint.html |
@@ -18,7 +18,7 @@ getUserMedia is handled as optional</p> |
<script> |
var t = async_test("Tests that setting an optional constraint in getUserMedia is handled as optional", {timeout:10000}); |
t.step(function() { |
- navigator.getUserMedia({video: {optional: [{width: {min:1024}}, {width: {max: 800}}]}}, |
+ navigator.getUserMedia({video: {advanced: [{width: {min:1024, max: 800}}]}}, |
t.step_func(function (stream) { |
assert_equals(stream.getVideoTracks().length, 1, "the media stream has exactly one video track"); |
t.done(); |