diff --git a/src/content/peerconnection/trickle-ice/css/main.css b/src/content/peerconnection/trickle-ice/css/main.css index 18b9824ee..78f6181e3 100644 --- a/src/content/peerconnection/trickle-ice/css/main.css +++ b/src/content/peerconnection/trickle-ice/css/main.css @@ -69,7 +69,3 @@ th:nth-child(6),td:nth-child(6) { #error-note { display: none; } - -div#container { - max-width: 90em; -} diff --git a/src/content/peerconnection/trickle-ice/index.html b/src/content/peerconnection/trickle-ice/index.html index d2bff3ae4..bd1476877 100644 --- a/src/content/peerconnection/trickle-ice/index.html +++ b/src/content/peerconnection/trickle-ice/index.html @@ -118,18 +118,14 @@

ICE options

Time - Component Type Foundation Protocol Address Port Priority - relayProtocol (if present) - Mid - MLine Index - Username Fragment URL (if present) + relayProtocol (if present) diff --git a/src/content/peerconnection/trickle-ice/js/main.js b/src/content/peerconnection/trickle-ice/js/main.js index 4da6c5739..cdf4f5566 100644 --- a/src/content/peerconnection/trickle-ice/js/main.js +++ b/src/content/peerconnection/trickle-ice/js/main.js @@ -182,12 +182,9 @@ function formatPriority(priority) { ].join(' | '); } -function appendCell(row, val, span) { +function appendCell(row, val) { const cell = document.createElement('td'); cell.textContent = val; - if (span) { - cell.setAttribute('colspan', span); - } row.appendChild(cell); } @@ -232,11 +229,11 @@ function getFinalResult() { async function iceCallback(event) { const elapsed = ((window.performance.now() - begin) / 1000).toFixed(3); const row = document.createElement('tr'); - appendCell(row, elapsed); if (event.candidate) { if (event.candidate.candidate === '') { return; } + appendCell(row, elapsed); const {candidate} = event; let url; // Until url is available from the candidate, to to polyfill. @@ -251,18 +248,14 @@ async function iceCallback(event) { }); } - appendCell(row, candidate.component); appendCell(row, candidate.type); appendCell(row, candidate.foundation); appendCell(row, candidate.protocol); appendCell(row, candidate.address); appendCell(row, candidate.port); appendCell(row, formatPriority(candidate.priority)); - appendCell(row, candidate.relayProtocol || ''); - appendCell(row, candidate.sdpMid); - appendCell(row, candidate.sdpMLineIndex); - appendCell(row, candidate.usernameFragment); appendCell(row, candidate.url || url || ''); + appendCell(row, candidate.relayProtocol || ''); candidates.push(candidate); } candidateTBody.appendChild(row); @@ -275,7 +268,7 @@ function gatheringStateChange() { const elapsed = ((window.performance.now() - begin) / 1000).toFixed(3); const row = document.createElement('tr'); appendCell(row, elapsed); - appendCell(row, getFinalResult(), 7); + appendCell(row, getFinalResult()); pc.close(); pc = null; if (stream) {