From 2e15d82fc678f67b8c9ca54f6cb7a46fca02265c Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Mon, 27 Nov 2023 15:30:53 +0000 Subject: [PATCH] Bug 1858557 - Test that open non-referenced datachannels aren't GCed. r=bwc Differential Revision: https://phabricator.services.mozilla.com/D190744 --- .../meta/webrtc/RTCDataChannel-GC.html.ini | 4 ++ .../tests/webrtc/RTCDataChannel-GC.html | 50 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 testing/web-platform/meta/webrtc/RTCDataChannel-GC.html.ini create mode 100644 testing/web-platform/tests/webrtc/RTCDataChannel-GC.html diff --git a/testing/web-platform/meta/webrtc/RTCDataChannel-GC.html.ini b/testing/web-platform/meta/webrtc/RTCDataChannel-GC.html.ini new file mode 100644 index 000000000000..db31aacbc13c --- /dev/null +++ b/testing/web-platform/meta/webrtc/RTCDataChannel-GC.html.ini @@ -0,0 +1,4 @@ +[RTCDataChannel-GC.html] + [While remote PC remains open, its datachannel should not be collected] + bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1858557 + expected: FAIL diff --git a/testing/web-platform/tests/webrtc/RTCDataChannel-GC.html b/testing/web-platform/tests/webrtc/RTCDataChannel-GC.html new file mode 100644 index 000000000000..8c6413f6aad3 --- /dev/null +++ b/testing/web-platform/tests/webrtc/RTCDataChannel-GC.html @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + +