Files
sousa-gecko/testing/web-platform/tests/html/semantics/permission-element
Ravjit 54370598f3 Bug 2054078 [wpt PR 61202] - [CE] Default HTMLUserMediaElement to request both camera and microphone., a=testonly
Automatic update from web-platform-tests
[CE] Default HTMLUserMediaElement to request both camera and microphone.

This change modifies the behavior of the HTMLUserMediaElement in
standard mode to be in line with the spec. Upon insertion into the DOM,
the element will now asynchronously apply default constraints to request
both video and audio capture permissions.

Previously, the element required an explicit call to `setConstraints` to
define which permissions were needed. Now, if `setConstraints` is not
called, it defaults to requesting both camera and microphone.

Change-Id: I3093488063a681a39bcbc1125eb7e1c9a71f3d9e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8041783
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Thomas Nguyen <tungnh@chromium.org>
Commit-Queue: Thomas Nguyen <tungnh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1659867}

--

wpt-commits: 7c53508a3c63a04238445e66cc5d5bd3db375378
wpt-pr: 61202
2026-07-13 14:37:13 +00:00
..