Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-optional-constraint.html

Issue 2086283003: Update web-platform-tests (Closed) Base URL:
Patch Set: Merge branch 'master' into wpt_import Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
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
deleted file mode 100644
index 7e69ca03fe9fe30ecc1cb7b7c885966f284df757..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-optional-constraint.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!doctype html>
-<title>Optional constraint recognized as optional in getUserMedia</title>
-<link rel="author" title="Dominique Hazael-Massieux" href=""/>
-<link rel="help" href="">
-<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 an optional constraint in
-getUserMedia is handled as optional</p>
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src="/common/vendor-prefix.js" data-prefixed-objects='[{"ancestors":["navigator"], "name":"getUserMedia"}]'></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: {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();
- }),
- t.step_func(function(error) {
- assert_unreached("an optional constraint can't stop us from obtaining a video stream");
- }));

Powered by Google App Engine
This is Rietveld 408576698