mirror of
https://github.com/lexmount/moli.git
synced 2026-10-02 16:00:44 +00:00
Admit DOMContentLoaded and main Window load after their parser/defer and load prerequisites so earlier DOM tasks keep their FIFO positions. Keep interactive readiness at parser stop, preserve child realm prerequisites, and return a load boundary to its driver if an earlier DOM callback adds a new load delay. Queue parser-owned external import-map errors during preparation, including child and document.write parsers, so later dynamic errors cannot overtake them. Cover ordering, replacement and load-delay behavior in main and child documents. Validation: - cargo fmt --all - cargo clippy --workspace --all-targets --all-features -- -D warnings - cargo nextest run --no-fail-fast: 17,871 passed, 13 skipped - 270 WPT cases: 254 pass, 10 fail, 5 timeout, 1 error; one new pass and no case-status or passing-subtest-count regressions