From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- ...ces-enumerateDevices-not-allowed-mic.https.html | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 testing/web-platform/tests/mediacapture-streams/MediaDevices-enumerateDevices-not-allowed-mic.https.html (limited to 'testing/web-platform/tests/mediacapture-streams/MediaDevices-enumerateDevices-not-allowed-mic.https.html') diff --git a/testing/web-platform/tests/mediacapture-streams/MediaDevices-enumerateDevices-not-allowed-mic.https.html b/testing/web-platform/tests/mediacapture-streams/MediaDevices-enumerateDevices-not-allowed-mic.https.html new file mode 100644 index 0000000000..d45fd740e8 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-streams/MediaDevices-enumerateDevices-not-allowed-mic.https.html @@ -0,0 +1,30 @@ + + + +enumerateDevices: test enumerateDevices should not expose microphone devices if they are not allowed by Permissions-Policy header + + + + +

Description

+

This test checks for the absence of microphone in +navigator.mediaDevices.enumerateDevices() method when blocked by Permissions-Policy header.

+
+ + + + + -- cgit v1.2.3