Group PeerConnections by BrowserId in about:webrtc
Categories
(Core :: WebRTC, enhancement, P3)
Tracking
()
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.
Assignee | ||
Comment 1•4 years ago
|
||
Ended up using the browserId associated with the BrowsingContext for the window.
Assignee | ||
Comment 2•4 years ago
|
||
This is only used on the about:webrtc page.
Assignee | ||
Comment 3•4 years ago
|
||
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
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3398903f80f6
https://hg.mozilla.org/mozilla-central/rev/de259037a7ff
Description
•