Runde 2: jüngere Lage gewinnt auch bei eigenen Abrufen (Laufnummer), Trusted Types auf Foyer, Nachbericht und OBS-Bühne; Bühnen-Prüfung kennt art und zeichnung

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-05 14:50:25 +01:00
co-authored by Claude Opus 5.5
parent b49ce6f716
commit 363151d8b6
58 changed files with 1129 additions and 856 deletions
+3
View File
@@ -196,6 +196,9 @@ const browser = await pw.chromium.launch({ args: [`--host-resolver-rules=MAP ${C
const kopfSaal = (await roh("/workspace/reaktion.html", { keks: k.admin })).kopf["content-security-policy"] || "";
const kopfChat = (await roh("/workspace/chat.html", { keks: k.admin })).kopf["content-security-policy"] || "";
ok(/require-trusted-types-for 'script'/.test(kopfSaal), "die Saal-Seite verlangt Trusted Types");
const weitere = [];
for (const seite of ["reaktion-foyer.html", "nachbericht.html", "buehne.html"]) { const kp = (await roh(`/workspace/${seite}`, { keks: k.admin })).kopf["content-security-policy"] || ""; if (/require-trusted-types-for 'script'/.test(kp)) weitere.push(seite); }
ok(weitere.length === 3, `auch Foyer, Nachbericht und OBS-Bühne verlangen Trusted Types (${weitere.join(", ")})`);
ok(kopfChat.length > 0 && !/trusted-types/.test(kopfChat), "andere Seiten bleiben, wie sie sind");
const konsole = [];
async function als(rolle, breite = 1440) {