Bug 1336507 - Part 1: Fix about:webrtc display of local relay transport. r?jib
MozReview-Commit-ID: D6FqhVK73Iz
--- a/toolkit/content/aboutwebrtc/aboutWebrtc.js
+++ b/toolkit/content/aboutwebrtc/aboutWebrtc.js
@@ -753,17 +753,17 @@ ICEStats.prototype = {
candidateToString(c) {
if (!c) {
return "*";
}
var type = c.candidateType;
- if (c.type == "localcandidate" && c.candidateType == "relayed") {
+ if (c.type == "local-candidate" && c.candidateType == "relayed") {
type = `${c.candidateType}-${c.mozLocalTransport}`;
}
return `${c.ipAddress}:${c.portNumber}/${c.transport}(${type})`;
}
};
function SimpleTable(heading, data) {