Bug 1667339 [wpt PR 25785] - [PTZ] Deny mandatory PTZ constraints in basic getUserMed...
commit618a88d87b6f942d153c3e4702cdb22b5d461f16
authorFrancois Beaufort <beaufort.francois@gmail.com>
Sat, 3 Oct 2020 10:28:52 +0000 (3 10:28 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 3 Oct 2020 16:24:21 +0000 (3 16:24 +0000)
tree95db98dee5ff649356953624cd05c10dfe7b85d4
parent2655501b304b94f0d36fb3e5b852c411b84f4dfd
Bug 1667339 [wpt PR 25785] - [PTZ] Deny mandatory PTZ constraints in basic getUserMedia constraints, a=testonly

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 <beaufort.francois@gmail.com>
Reviewed-by: Eero Häkkinen <eero.hakkinen@intel.com>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811242}

--

wpt-commits: dcb7fbd8b1c1223fcc72819cf1c66ac2c03b04c8
wpt-pr: 25785
testing/web-platform/tests/mediacapture-image/getusermedia.https.html [new file with mode: 0644]