From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/webrtc-stats/META.yml | 5 + testing/web-platform/tests/webrtc-stats/README.md | 6 + .../getStats-remote-candidate-address.html | 79 ++++++++ .../hardware-capability-stats.https.html | 106 ++++++++++ .../tests/webrtc-stats/idlharness.window.js | 14 ++ .../tests/webrtc-stats/outbound-rtp.https.html | 49 +++++ .../tests/webrtc-stats/rtp-stats-creation.html | 110 +++++++++++ .../tests/webrtc-stats/supported-stats.https.html | 213 +++++++++++++++++++++ 8 files changed, 582 insertions(+) create mode 100644 testing/web-platform/tests/webrtc-stats/META.yml create mode 100644 testing/web-platform/tests/webrtc-stats/README.md create mode 100644 testing/web-platform/tests/webrtc-stats/getStats-remote-candidate-address.html create mode 100644 testing/web-platform/tests/webrtc-stats/hardware-capability-stats.https.html create mode 100644 testing/web-platform/tests/webrtc-stats/idlharness.window.js create mode 100644 testing/web-platform/tests/webrtc-stats/outbound-rtp.https.html create mode 100644 testing/web-platform/tests/webrtc-stats/rtp-stats-creation.html create mode 100644 testing/web-platform/tests/webrtc-stats/supported-stats.https.html (limited to 'testing/web-platform/tests/webrtc-stats') diff --git a/testing/web-platform/tests/webrtc-stats/META.yml b/testing/web-platform/tests/webrtc-stats/META.yml new file mode 100644 index 0000000000..10bcf856eb --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/META.yml @@ -0,0 +1,5 @@ +spec: https://w3c.github.io/webrtc-stats/ +suggested_reviewers: + - henbos + - vr000m + - jan-ivar diff --git a/testing/web-platform/tests/webrtc-stats/README.md b/testing/web-platform/tests/webrtc-stats/README.md new file mode 100644 index 0000000000..4653f41547 --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/README.md @@ -0,0 +1,6 @@ +The following test cases in the `webrtc/` directory test some of the mandatory-to-implement stats defined in WebRTC Statistics: + +* `getstats.html` +* `RTCPeerConnection-getStats.https.html` +* `RTCRtpReceiver-getStats.https.html` +* `RTCRtpSender-getStats.https.html` diff --git a/testing/web-platform/tests/webrtc-stats/getStats-remote-candidate-address.html b/testing/web-platform/tests/webrtc-stats/getStats-remote-candidate-address.html new file mode 100644 index 0000000000..d30f2252bf --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/getStats-remote-candidate-address.html @@ -0,0 +1,79 @@ + + +Exposure or remote candidate address on stats + + + + diff --git a/testing/web-platform/tests/webrtc-stats/hardware-capability-stats.https.html b/testing/web-platform/tests/webrtc-stats/hardware-capability-stats.https.html new file mode 100644 index 0000000000..a6293e8500 --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/hardware-capability-stats.https.html @@ -0,0 +1,106 @@ + + +Stats exposing hardware capability + + + + + + + + +
+ diff --git a/testing/web-platform/tests/webrtc-stats/idlharness.window.js b/testing/web-platform/tests/webrtc-stats/idlharness.window.js new file mode 100644 index 0000000000..d98712fc48 --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/idlharness.window.js @@ -0,0 +1,14 @@ +// META: script=/resources/WebIDLParser.js +// META: script=/resources/idlharness.js + +'use strict'; + +// https://w3c.github.io/webrtc-stats/ + +idl_test( + ['webrtc-stats'], + ['webrtc'], + idl_array => { + // No interfaces to test + } +); diff --git a/testing/web-platform/tests/webrtc-stats/outbound-rtp.https.html b/testing/web-platform/tests/webrtc-stats/outbound-rtp.https.html new file mode 100644 index 0000000000..ff87d54256 --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/outbound-rtp.https.html @@ -0,0 +1,49 @@ + + + +RTCPeerConnection getStats test related to outbound-rtp stats + + + + diff --git a/testing/web-platform/tests/webrtc-stats/rtp-stats-creation.html b/testing/web-platform/tests/webrtc-stats/rtp-stats-creation.html new file mode 100644 index 0000000000..7a6d9df456 --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/rtp-stats-creation.html @@ -0,0 +1,110 @@ + + +No RTCRtpStreamStats should exist prior to RTP/RTCP packet flow + + + + diff --git a/testing/web-platform/tests/webrtc-stats/supported-stats.https.html b/testing/web-platform/tests/webrtc-stats/supported-stats.https.html new file mode 100644 index 0000000000..b886778e51 --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/supported-stats.https.html @@ -0,0 +1,213 @@ + + + +Support for all stats defined in WebRTC Stats + + + + + -- cgit v1.2.3