tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 870518d61d9b976d13ad51ec10b71661bb17e35a
parent fc644383f5d49d8c9786c11f6add062b01968c8d
Author: Anna <anna.weine@mozilla.com>
Date:   Wed, 15 Oct 2025 08:25:17 +0000

Bug 1993684 - Adding early_beta or earlier flag for PQ enabling glean tests r=webrtc-reviewers,djackson,bwc

Differential Revision: https://phabricator.services.mozilla.com/D268310

Diffstat:
Mdom/media/webrtc/tests/mochitests/test_peerConnection_glean.html | 8++++++++
Mmodules/libpref/init/StaticPrefList.yaml | 1+
2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/dom/media/webrtc/tests/mochitests/test_peerConnection_glean.html b/dom/media/webrtc/tests/mochitests/test_peerConnection_glean.html @@ -249,8 +249,16 @@ is(count1_0, 0, "Expected 0 connections using NULL"); is(count1_1, 0, "Expected 0 connections using RSA"); is(count1_2, 0, "Expected 0 connections using DH"); + if (AppConstants.EARLY_BETA_OR_EARLIER) + { is(count1_4, 0, "Expected 0 connections using ECDH"); is(count1_8, 2, "Expected 2 connections using ECDH Hybrid"); + } + else + { + is(count1_4, 2, "Expected 2 connections using ECDH"); + is(count1_8, 0, "Expected 0 connections using ECDH Hybrid"); + } }, async function checkDtlsKEA_DTLSBelow13() { diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml @@ -12177,6 +12177,7 @@ mirror: always # This pref enabled sending ssl_grp_kem_mlkem768x25519 Key Share for WebRTC DTLS code. +# When modifying this pref, please update the test_peerConnection_glean.html tests as well. - name: media.webrtc.send_mlkem_keyshare type: RelaxedAtomicBool value: @IS_EARLY_BETA_OR_EARLIER@