From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/webrtc-stats/META.yml | 5 + testing/web-platform/tests/webrtc-stats/README.md | 7 + .../getStats-remote-candidate-address.html | 81 ++++++++ .../hardware-capability-stats.https.html | 107 +++++++++++ .../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 | 212 +++++++++++++++++++++ 8 files changed, 585 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..2b69372894 --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/README.md @@ -0,0 +1,7 @@ +The following 4 test cases in the `webrtc/` directory test some of the mandatory-to-implement stats defined in WebRTC Statistics: + +* `getstats.html` +* `RTCPeerConnection-getStats.https.html` +* `RTCPeerConnection-track-stats.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..08e2aec90e --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/getStats-remote-candidate-address.html @@ -0,0 +1,81 @@ + + +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..49f80d4b65 --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/hardware-capability-stats.https.html @@ -0,0 +1,107 @@ + + +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..24b4d3f06f --- /dev/null +++ b/testing/web-platform/tests/webrtc-stats/supported-stats.https.html @@ -0,0 +1,212 @@ + + + +Support for all stats defined in WebRTC Stats + + + + + + + -- cgit v1.2.3