mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-06 06:38:57 +00:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user