Closed Bug 2100855 Opened 3 days ago Closed 2 days ago

Disable setParameters compat mode in release

Categories

(Core :: WebRTC, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 2099965

People

(Reporter: dholbert, Unassigned)

References

(Blocks 2 open bugs)

Details

Bug 2019370 disabled the setParameters compat mode in Nightly, but not in release -- we currently have this ifdef-controlled pref-assignment which varies between Nightly and release:
https://searchfox.org/firefox-main/rev/5704be9606a0527988edb1dd97ed41884f2d29e3/modules/libpref/init/all.js#289-294

#ifdef NIGHTLY_BUILD
  pref("media.peerconnection.allow_old_setParameters", false);
  pref("media.peerconnection.allow_old_setParameters.allowlist", "*.google.com");
#else
  pref("media.peerconnection.allow_old_setParameters", true);
#endif

As a result, Firefox release version still fails some interop-2026 WPTs, like these ones:
https://wpt.live/webrtc/RTCRtpParameters-codecs.html?interop-2026
https://wpt.live/webrtc/RTCRtpParameters-encodings.html?interop-2026
https://wpt.live/webrtc/RTCRtpParameters-transactionId.html?interop-2026
https://wpt.live/webrtc/RTCRtpSender-setParameters.html?interop-2026

...as shown on wpt.fyi. I can get the tests passing locally by manually toggling media.peerconnection.allow_old_setParameters to false (matching Nightly).

We need to get release consistent with Nightly on this media.peerconnection.allow_old_setParameters pref-value in order to pass these WPTs for the final interop-2026 snapshot. bwc, is that already planned somewhere? Or if not, feel free to use this bug for that. :)

Flags: needinfo?(docfaraday)

Note that bug 2019370 (where we disabled the compat mode in Nightly) did trigger some regressions with old jitsi installations (e.g. bug 2019370, bug 2055459). So toggling the pref is not zero-risk in terms of webcompat...

Status: NEW → RESOLVED
Closed: 2 days ago
Duplicate of bug: 2099965
Flags: needinfo?(docfaraday)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.