mirror of
https://github.com/lexmount/moli.git
synced 2026-11-18 16:08:37 +00:00
A VM created while dialog waiting was enabled cached that value locally. The cached true value survived disabling or detaching the final Page observer, so later dialogs could still wait after the shared context flag was false. Read the BrowserContext shared switch for every dialog. Remove the VM-local Boolean, its constructor snapshot, the ScriptVm/JsContextHost setters, and the obsolete Page setter and renderer command. Page domain commands now rely on the existing shared subscription aggregation. Cover enabled-at-construction VMs and interleaved disable/detach across two Pages and different sessions. Verify that confirm returns without a modal wait while a native handler remains available to handle the prompt. Keep standalone headless dialog fallback coverage through the shared switch.