From 1524cb444c7e40279fc27a2088e59e93d218962a Mon Sep 17 00:00:00 2001 From: quality <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Sat, 31 Oct 2026 09:12:48 -0400 Subject: [PATCH] test(page-csp): gate external iframe origins against frame-src The CSP gate already keeps every external origin covered by img-src, but #307 added the site's first third-party '; + +test("fixture: '), ["https://example.org"]); + const h = sha256Source("console.log(1)"); + assert.deepEqual(problemsOf(fixture({ csp: `${BASE}; script-src ${h}`, frame: '' })), []); +}); + +test("fixture: external