mirror of
https://github.com/lexmount/moli.git
synced 2026-11-21 08:02:59 +00:00
Run browser-initiated main-document checks through the existing asynchronous lifecycle scheduler before Fetch interception or network loading. Project the source turn first, reject superseded navigation tokens, and share navigation finalization so failed checks retain the committed document and release state. Foreground DevTools callers remain pending through the check and load, preserving typed navigation results and the captured target owner. Keep beforeunload and commit unload commands out of nested non-V8 Page-agent dispatch while the owner is debugger-paused. Cover real navigate/reload/history responses, retained documents, pause/resume, supersession, and Fetch ordering.