Closed Bug 1328194 Opened 7 years ago Closed 5 years ago

Remove legacy PeerConnection.getStats and associated legacy stats type

Categories

(Core :: WebRTC, defect, P1)

49 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: ng, Assigned: ng)

References

(Blocks 2 open bugs)

Details

(Keywords: dev-doc-complete, site-compat)

Attachments

(1 file)

The legacy PeerConnection.getStats and associated types are being removed [1] from the spec [2]. We should remove them from Firefox in due time. Until then this bug can track related notes, and issues.

[1] https://github.com/w3c/webrtc-pc/issues/924
[2] https://www.w3.org/TR/2016/WD-webrtc-20161124/#dom-rtcpeerconnection-getstats
Depends on: 1329762
Note: The PeerConnection.getStats callback interface was removed [1] from the spec (tree) on January 8, 2017.
[1] https://github.com/w3c/webrtc-pc/commit/fa432357a2d6b2cc1ecddf4536c1672398b76092
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4
Assignee: nobody → na-g
Status: NEW → ASSIGNED
Rank: 10
Priority: P4 → P1
WebIDL Review Information:
This patch removes the long deprecated [0] callback based WebRTC GetStats API.
We have supported the promise based replacement[1] for some time now.
Additionally, we have had a deprecation warning in for a long time.

[0] https://github.com/w3c/webrtc-pc/issues/924
[1] https://w3c.github.io/webrtc-pc/#rtcpeerconnection-interface-extensions-1
Pushed by na-g@nostrum.com:
https://hg.mozilla.org/integration/autoland/rev/b2be026ec52b
Remove deprecated legacy WebRTC stats callback and associated dictionary like results r=jib,smaug
https://hg.mozilla.org/mozilla-central/rev/b2be026ec52b
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66

Note to MDN writers — I have added a note to the Fx66 rel notes (https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/66#APIs, see the "Removals" section).

Apart from that just needs cleanup on docs/bcd.

The following content changes have been made:

Updated https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats to add information about the obsolete form and to explain how it differs.

Submitted PR to the BCD repository: https://github.com/mdn/browser-compat-data/pull/3577

This is complete barring any revision requests.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: