From 59203c63bb777a3bacec32fb8830fba33540e809 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:29 +0200 Subject: Adding upstream version 127.0. Signed-off-by: Daniel Baumann --- .../MediaStreamTrack-audio-stats.https.html | 209 +++++++++++++++++++++ .../MediaStreamTrack-video-stats.https.html | 8 - 2 files changed, 209 insertions(+), 8 deletions(-) create mode 100644 testing/web-platform/tests/mediacapture-extensions/MediaStreamTrack-audio-stats.https.html (limited to 'testing/web-platform/tests/mediacapture-extensions') diff --git a/testing/web-platform/tests/mediacapture-extensions/MediaStreamTrack-audio-stats.https.html b/testing/web-platform/tests/mediacapture-extensions/MediaStreamTrack-audio-stats.https.html new file mode 100644 index 0000000000..83a2376911 --- /dev/null +++ b/testing/web-platform/tests/mediacapture-extensions/MediaStreamTrack-audio-stats.https.html @@ -0,0 +1,209 @@ + + + + + + + + + diff --git a/testing/web-platform/tests/mediacapture-extensions/MediaStreamTrack-video-stats.https.html b/testing/web-platform/tests/mediacapture-extensions/MediaStreamTrack-video-stats.https.html index f1b6a2074a..374a22c7ca 100644 --- a/testing/web-platform/tests/mediacapture-extensions/MediaStreamTrack-video-stats.https.html +++ b/testing/web-platform/tests/mediacapture-extensions/MediaStreamTrack-video-stats.https.html @@ -321,14 +321,6 @@ promise_test(async t => { assert_equals(secondStats.discardedFrames, 0); }, `A low FPS clone does not affect the original track's discardedFrames`); -promise_test(async t => { - const stream = await navigator.mediaDevices.getUserMedia({audio:true}); - const [track] = stream.getTracks(); - t.add_cleanup(() => track.stop()); - - assert_equals(track.stats, null); -}, `track.stats is null on audio tracks`); - promise_test(async t => { const canvas = document.createElement('canvas'); const stream = canvas.captureStream(10); -- cgit v1.2.3