UA Ledger · Playable Test Bench · draft for review

Stop simulation time while the document is hidden

Teaching laboratory. Cases run in this page against the authored functions. This is not a device panel, network approval, analytics-delivery proof or campaign result. Inputs are synthetic.

Returning to a playable should not reveal that the timer expired while the player could not see it. This fixture tests an explicit visibility gate around simulation time.

Primary documentation: MDN: visibility pause (body read 2026-09-19).

Cases

CaseInputExpectedFixedBroken

What a pass does not prove

This is a deterministic simulation-clock test. It does not verify host SDK callbacks or whether all effects and sounds pause together. A real build can have multiple clocks, and pausing only the main game loop while a separate timeout advances the end card still produces inconsistent behaviour.