From c0dbfecec84b3d465240f2a58a745b1f83046196 Mon Sep 17 00:00:00 2001 From: Francois Daoust Date: Thu, 23 Jan 2025 09:14:45 +0100 Subject: [PATCH 1/2] [Tests] Add exception for series title of css-backgrounds-4 The "Borders" part is now the topic of a separate spec, series title is still that of the current specification, meaning level 3. The update also drops the exception for `css-images-4`, no longer needed. --- test/index.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/index.js b/test/index.js index e6a4f579..6694f4f4 100644 --- a/test/index.js +++ b/test/index.js @@ -135,15 +135,14 @@ describe("The `index.json` list", () => { }); it("has series titles that look consistent with spec titles", () => { - // Note the WebRTC, RDF, JSON-LD specs follow a slightly different pattern - // TEMP (2022-01-05): temp exception to the rule: published version of CSS - // Images Level 4 has an obscure title à la "CSS Image Values..." - // (should get fixed next time the spec gets published to /TR) + // The test is useful in that it allows to trap cases where the information + // returned by the W3C API about a series is not up-to-date, but there are + // a few exceptions to the rule. const wrong = specs.filter(s => !s.title.includes(s.series.title)) .filter(s => !s.title.startsWith("RDF ") && !s.title.startsWith("SPARQL ")) .filter(s => ![ "webrtc", "json-ld11-api", "json-ld11-framing", - "css-images-4", "n-quads", "DOM-Level-2-Style" + "css-backgrounds-4", "n-quads", "DOM-Level-2-Style" ].includes(s.shortname)); assert.deepStrictEqual(wrong, []); }); From 8083a9ddff5a43a88f675fb46e8c9e2cda07ac7d Mon Sep 17 00:00:00 2001 From: Francois Daoust Date: Thu, 23 Jan 2025 13:30:07 +0100 Subject: [PATCH 2/2] Update URL of Web Speech API The update preserves the former shortname `speech-api` for now, matching the `shortname` metadata currently present in the spec. Fixes #1639 --- specs.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specs.json b/specs.json index 81be7617..00790900 100644 --- a/specs.json +++ b/specs.json @@ -623,6 +623,10 @@ "forkOf": "wasm-js-api-2", "title": "WebAssembly JavaScript Interface: Threading" }, + { + "url": "https://webaudio.github.io/web-speech-api/", + "shortname": "speech-api" + }, "https://webbluetoothcg.github.io/web-bluetooth/", { "url": "https://webbluetoothcg.github.io/web-bluetooth/scanning.html", @@ -756,7 +760,6 @@ "url": "https://wicg.github.io/soft-navigations/", "standing": "pending" }, - "https://wicg.github.io/speech-api/", "https://wicg.github.io/storage-buckets/", "https://wicg.github.io/trust-token-api/", {