Skip to content

Commit

Permalink
Add links to list of amendments implementation status
Browse files Browse the repository at this point in the history
  • Loading branch information
dontcallmedom committed Mar 29, 2024
1 parent 68cfdf6 commit e599173
Showing 1 changed file with 30 additions and 15 deletions.
45 changes: 30 additions & 15 deletions webrtc-update.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@
</style>
<script>
window.specFilter = "-webrtc-amendments";
var amendments;
const byTest = {};
window.relevantTests = fetch("https://w3c.github.io/webrtc-pc/amendments.json")
.then(r => r.json())
.then(amendmentsBySection => {
const amendments = Object.keys(amendmentsBySection).reduce((acc, id) => {
amendments = Object.keys(amendmentsBySection).reduce((acc, id) => {
for (let c of amendmentsBySection[id]) {
if (!acc[c.id]) {
acc[c.id] = [];
Expand Down Expand Up @@ -113,24 +114,23 @@ <h1>Amended WebRTC Interoperability Tests Results</h1>
<section>
<h2>Summary - March, 2024</h2>
<p><a href="https://github.com/w3c/webrtc-pc/issues/2950">Untested amendments</a>:</p>
<ul>
<li>Don't let offers to receive simulcast overwrite existing [[SendEncodings]] #2758</li>
<li>Revert #2033. #2759</li>
<li>Clarify simulcast envelope is determined by negotiation. #2760</li>
<li>Don't fail sRD(offer) over rid mismatch, just answer with unicast. #2794</li>
<li>Prune createAnswer()'s encodings and [[SendEncodings]] in sLD(answer). #2801</li>
<li>Use the url spec to parse ice server urls (Take 2). #2853</li>
<li>Determine if DTMF can be sent inside queued playout task. #2861</li>
<li>Redefine SendCodecs and ReceiveCodecs #2935</li>
<ul class=prs>
<li>2758</li>
<li>2759</li>
<li>2760</li>
<li>2794</li>
<li>2801</li>
<li>2853</li>
<li>2861</li>
<li>2935</li>
</ul>
<p>Amendments without implementations:</p>
<ul>
<ul class=prs>
<li>2800</li>
<li>2813</li>
</ul>
<p>Amendment with only one implementation:</p>
<ul>
<li>2902 (only Cr - but unclear for Safari)</li>
<ul class=prs>
<li>2708 (only FF - but partial impl in Cr/Safari)</li>
<li>2754 (only FF)</li>
<li>2755 (only FF)</li>
Expand All @@ -141,9 +141,10 @@ <h2>Summary - March, 2024</h2>
<li>2775 (only FF)</li>
<li>2797 (only FF)</li>
<li>2832 (only Cr)</li>
<li>2902 (only Cr - but unclear for Safari)</li>
</ul>
<p>Amendment with sufficient implementation experience:</p>
<ul>
<ul class=prs>
<li>2687</lI>
<lI>2689</li>
<li>2691</li>
Expand Down Expand Up @@ -202,7 +203,21 @@ <h2>Annotated WPT results</h2>
}

});

console.log(amendments);
document.querySelectorAll("ul.prs li").forEach(li => {
const pr = parseInt(li.textContent.split(" ")[0], 10);
for (const a of Object.values(amendments)) {
for (const x of a) {
if (x.pr === pr || Array.isArray(x.pr) && x.pr.includes(pr)) {
const link = document.createElement("a");
link.href = "https://github.com/w3c/webrtc-pc/pull/" + pr;
link.textContent = x.description;
li.prepend(link, " ");
break;
}
}
}
});
})();
</script>
</body>
Expand Down

0 comments on commit e599173

Please sign in to comment.