Skip to content

Commit

Permalink
Bug 1842328 - Remove media.peerconnection.identity.enabled pref r=web…
Browse files Browse the repository at this point in the history
…rtc-reviewers,webidl,smaug,bwc

Differential Revision: https://phabricator.services.mozilla.com/D184008
  • Loading branch information
gregorypappas committed Jul 20, 2023
1 parent 60d4538 commit d35b3fe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion dom/media/webrtc/tests/mochitests/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@ function setupEnvironment() {
var defaultMochitestPrefs = {
set: [
["media.peerconnection.enabled", true],
["media.peerconnection.identity.enabled", true],
["media.peerconnection.identity.timeout", 120000],
["media.peerconnection.ice.stun_client_maximum_transmits", 14],
["media.peerconnection.ice.trickle_grace_period", 30000],
Expand Down
4 changes: 0 additions & 4 deletions dom/webidl/RTCPeerConnection.webidl
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,8 @@ interface RTCPeerConnection : EventTarget {
[Throws, StaticClassOverride="mozilla::dom::RTCCertificate"]
static Promise<RTCCertificate> generateCertificate (AlgorithmIdentifier keygenAlgorithm);

[Pref="media.peerconnection.identity.enabled"]
undefined setIdentityProvider (DOMString provider,
optional RTCIdentityProviderOptions options = {});
[Pref="media.peerconnection.identity.enabled"]
Promise<DOMString> getIdentityAssertion();
Promise<RTCSessionDescriptionInit> createOffer (optional RTCOfferOptions options = {});
Promise<RTCSessionDescriptionInit> createAnswer (optional RTCAnswerOptions options = {});
Expand All @@ -118,9 +116,7 @@ interface RTCPeerConnection : EventTarget {
readonly attribute RTCIceConnectionState iceConnectionState;
readonly attribute RTCPeerConnectionState connectionState;
undefined restartIce ();
[Pref="media.peerconnection.identity.enabled"]
readonly attribute Promise<RTCIdentityAssertion> peerIdentity;
[Pref="media.peerconnection.identity.enabled"]
readonly attribute DOMString? idpLoginUrl;

[ChromeOnly]
Expand Down
5 changes: 0 additions & 5 deletions modules/libpref/init/StaticPrefList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10766,11 +10766,6 @@
value: true
mirror: always

- name: media.peerconnection.identity.enabled
type: bool
value: true
mirror: always

#ifdef MOZ_WEBRTC
# Use MediaDataDecoder API for VP8/VP9 in WebRTC. This includes hardware
# acceleration for decoding.
Expand Down

0 comments on commit d35b3fe

Please sign in to comment.