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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user