From 9a5830753c06b1e1dfbe81c65ae9c435ff8bb707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 6 Aug 2026 23:04:29 +0200 Subject: [PATCH] test(02-12.1): name the transport guard's blind spots, match one more - document srcSet, poster, object data, form action, window.open, sendBeacon, CSS url() and spread props as shapes this matcher cannot see, alongside the two trees it walks - match the imperative `.src =` form, anchored to a real occurrence so the new leg cannot pass by matching nothing --- ...d-fence-headerless-transport-guard.test.ts | 52 ++++++++++++++++++- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/src/__tests__/record-fence-headerless-transport-guard.test.ts b/src/__tests__/record-fence-headerless-transport-guard.test.ts index 2eef9d1f2..3ccd9731d 100644 --- a/src/__tests__/record-fence-headerless-transport-guard.test.ts +++ b/src/__tests__/record-fence-headerless-transport-guard.test.ts @@ -29,12 +29,37 @@ * `src={src}` is caught, because that is the shape the real offenders had and a * matcher that only read inline literals would have found two of the six and * reported success. It does NOT trace a path built by a helper, assembled - * across two hops, or returned from a hook — a future offender in that shape - * slips this guard. Said here rather than discovered later. + * across two hops, or returned from a hook. * * It also only knows the routes it can RESOLVE. A path whose route module it * cannot find is reported separately rather than silently passing, because an * unresolvable path is the one case where a green result would mean nothing. + * + * ### The blind spots, named + * + * Every one of these issues a browser request that carries no record-session + * assertion, and none of them is matched here. They are written down rather + * than matched because each is either absent from the tree today or costs more + * to detect than it currently buys — but a future offender in any of these + * shapes SLIPS this guard, and that is the thing to know before trusting a + * green run: + * + * * `srcSet` on an `` / ``, and `poster` on a `