Bind browser timers used by typed renderer stores #10

Closed
opened 2026-09-22 00:08:24 +02:00 by rexlManu · 1 comment
Owner

The Stop hotkey integration test exposed a source-port regression: passing window.setInterval as a dependency called it with the dependency object as this, causing Illegal invocation. Grind-goal startup failed before session hotkey registration; server-buff startup failed too. Bind the shared interval function to window, wrap clearInterval, and verify browser startup plus an actual session:hotkey event. Installed release is unchanged.

The Stop hotkey integration test exposed a source-port regression: passing window.setInterval as a dependency called it with the dependency object as this, causing Illegal invocation. Grind-goal startup failed before session hotkey registration; server-buff startup failed too. Bind the shared interval function to window, wrap clearInterval, and verify browser startup plus an actual session:hotkey event. Installed release is unchanged.
Author
Owner

Fixed in 883baa5. Bound the interval alias to window and wrapped server-buff interval cancellation. The actual hotkey integration test now passes and asserts no Illegal invocation or session-restore startup errors. All six interval-based store adapters receive the bound function.

Fixed in https://git.it-lampe.de/rexlManu/garmith-app/commit/883baa5. Bound the interval alias to window and wrapped server-buff interval cancellation. The actual hotkey integration test now passes and asserts no Illegal invocation or session-restore startup errors. All six interval-based store adapters receive the bound function.
rexlManu 2026-09-22 00:10:28 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rexlManu/garmith-app#10
No description provided.