From 5a076f084abad2ef866968849c651e82e085c6f2 Mon Sep 17 00:00:00 2001 From: Francois Beaufort Date: Sat, 3 Oct 2020 10:28:52 +0000 Subject: [PATCH] Bug 1667339 [wpt PR 25785] - [PTZ] Deny mandatory PTZ constraints in basic getUserMedia constraints, a=testonly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic update from web-platform-tests [PTZ] Deny mandatory PTZ constraints in basic getUserMedia constraints This PR makes sure required PTZ constraints in the basic constraint set are denied (and throw a TypeError) and PTZ capability constraints ({ zoom: true } etc.) are ideal in the basic constraint set. Therefore, a PTZ constraint in the basic set cannot cause getUserMedia() to fail conditionally. Spec: https://github.com/w3c/mediacapture-image/pull/261 https://github.com/w3c/mediacapture-main/pull/707/ Bug: 934063 Change-Id: I7324ae32b064dbf3b89325166834e2694eca593b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2411946 Commit-Queue: François Beaufort Reviewed-by: Eero Häkkinen Reviewed-by: Philip Jägenstedt Reviewed-by: Guido Urdaneta Reviewed-by: Reilly Grant Cr-Commit-Position: refs/heads/master@{#811242} -- wpt-commits: dcb7fbd8b1c1223fcc72819cf1c66ac2c03b04c8 wpt-pr: 25785 --- .../getusermedia.https.html | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 testing/web-platform/tests/mediacapture-image/getusermedia.https.html diff --git a/testing/web-platform/tests/mediacapture-image/getusermedia.https.html b/testing/web-platform/tests/mediacapture-image/getusermedia.https.html new file mode 100644 index 000000000000..033501cf64e8 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-image/getusermedia.https.html @@ -0,0 +1,26 @@ + + +getUserMedia + + +