tor-browser

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

commit 3f98d6fbb800148b5347f7923d6d9e8fef4bd8d0
parent 497e1cb0b03701f31098a0a9495e7c6ad59cd480
Author: Anna <anna.weine@mozilla.com>
Date:   Mon, 27 Oct 2025 10:33:18 +0000

Bug 1992708 - WeRTC DTLS1.3 to enable sending a PQ key share in Release r=webrtc-reviewers,bwc

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

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

diff --git a/dom/media/webrtc/tests/mochitests/test_peerConnection_glean.html b/dom/media/webrtc/tests/mochitests/test_peerConnection_glean.html @@ -223,8 +223,7 @@ }, async function checkDtlsKEA() { - // "media.webrtc.enable_pq_hybrid_kex" is enabled by default - // "send_mlkem_keyshare" enabled in Nightly and Early Beta + // "media.webrtc.enable_pq_hybrid_kex" and "send_mlkem_keyshare" are enabled by default // By default we send 2 key shares, PQ and X25519 // PQ Key share (ECDH Hybrid) has a higher preference, so it will be chosen as KEA const pc1 = new RTCPeerConnection(); @@ -249,16 +248,8 @@ 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 @@ -12121,7 +12121,7 @@ # 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@ + value: true mirror: always # This pref controls whether dispatch testing-only events.