Closed Bug 1657449 Opened 4 years ago Closed 4 years ago

Group PeerConnections by BrowserId in about:webrtc

Categories

(Core :: WebRTC, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: dminor, Assigned: dminor)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

It would be nice to have a way of grouping peer connections from the same tab in about:webrtc to make it easier to keep track of things. We pass the nsGlobalWindowInner into PeerConnection when we create it. We could use this directly, or find the corresponding outer window.

Ended up using the browserId associated with the BrowsingContext for the window.

Assignee: nobody → dminor
Status: NEW → ASSIGNED
Summary: Group PeerConnections by WindowId in about:webrtc → Group PeerConnections by BrowserId in about:webrtc

This is only used on the about:webrtc page.

This adds the current browserId to the internal stats report. The peer
connections are sorted by browserId, and a "Show tab" button is added that will
select the tab associated with the peer connection to make it easier to keep
track of which peerconnection is associated with a tab.

Depends on D86698

Pushed by dminor@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3398903f80f6
Add browserId to webrtc internal stats r=webidl,smaug
https://hg.mozilla.org/integration/autoland/rev/de259037a7ff
Add "Show tab" button to about:webrtc; r=ng
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: