Bug 1336507 - Part 1: Fix about:webrtc display of local relay transport. r=jib, a=lizzard
authorByron Campen [:bwc] <docfaraday@gmail.com>
Fri, 03 Feb 2017 12:25:26 -0600
changeset 379071 9b8185c8700abe48dea9e31e642217cfa5d2532e
parent 379070 0a52261a97afa0844ddeff7662e64844d630e41a
child 379072 41811c42416acec9c556ba0d0bc9f5832b6b292b
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjib, lizzard
bugs1336507
milestone53.0
Bug 1336507 - Part 1: Fix about:webrtc display of local relay transport. r=jib, a=lizzard MozReview-Commit-ID: D6FqhVK73Iz
toolkit/content/aboutwebrtc/aboutWebrtc.js
--- 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) {