test(light): preserve empty render contract and guard late static imports

Follow the render-local barrier wrapper without weakening empty-space or
confirmation assertions. Register the cold-import connection guard mutation.

Issue: #789
User-Visible: no
This commit is contained in:
Matysh
2026-10-04 07:17:00 +03:00
parent 7777b8a0a8
commit d8949cfffc
3 changed files with 19 additions and 3 deletions
+11
View File
@@ -14267,6 +14267,17 @@ const MUTANT_DEFINITIONS = [
replace: ' // mutant: render the new source fully visible before its entry frame',
}],
},
{
id: 'glow-static-ready-after-disconnect',
guard: 'node demo/smoke_led_strip_glow.mjs',
because: '#789 AC4: a real lazy runtime or field import completing after the static custom element '
+ 'disconnects must not request a late update; the browser smoke holds its network response across removal',
patches: [{
file: 'src/space-render.ts',
find: ' const ledConnected = o.glowRuntime?.host.isConnected ?? (() => false);',
replace: ' const ledConnected = () => true;',
}],
},
{
id: 'glow-static-led-release-skipped',
guard: 'node demo/smoke_led_strip_glow.mjs',