Track complete loading separately from readyState for main and child documents, retaining the state through document.open(). Apply before-load replacement to Location assignments with the transient user activation exception, and settle inherited main load completion after a load-callback rewrite.
Keep Window.open on the generic navigation path so its history behavior remains independent of the Location API.
Cover real child history length and entry indices across parser, DOMContentLoaded, load, pageshow, and post-load document.open(), plus main navigation event classification and activation. Update the measured Location WPT results.
Async scripts still fetching at parser EOF previously entered a queue
behind DOMContentLoaded, allowing a slow defer script to block a ready
async script or its error event. Transfer remaining async work to the
exact Document runtime producer and publish each task when its source
completes, retaining its load-delay lease.
Preserve observed async completion order across parser handoff. Add gated
success, failure, and out-of-order completion tests, and update the WPT
ledger for execution-timing/085.html.
Validation:
- cargo fmt --all
- cargo clippy --workspace --all-targets --all-features -- -D warnings
- cargo nextest run --no-fail-fast: 17,879 passed, 13 skipped
- 270 WPT cases: 257 to 258 passes, no case or subtest regressions
Perform HTML script cleanup between event callbacks when the execution-context stack becomes empty, retaining currentTarget, passive state, and window.event through the checkpoint. Preserve script execution scopes during exception reporting, use the same callback boundary for Worker.onerror, and guard the complete microtask checkpoint against reentrancy.
Remove deferred window.event restoration. Update callback-order assertions and asynchronous fixtures to wait for the final event they inspect, while retaining scheduler, document-owner, and follow-up checks. Add Window, child Window, and Worker coverage for nested dispatch, listener removal in microtasks, and script versus callback exceptions.
Callback exception ordering follows Web IDL cleanup before rethrow; the local Chromium probe reports the error before that checkpoint.
WPT: 3 additional passes in the script-element microtask tests; the other 492 cases retain identical statuses and subtest results. Update the corresponding passed/failed case lists.
Validation: cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast (17,843 passed, 13 skipped). Fresh CLI build SHA-256 matches the binary used for the 495-case WPT comparison.
Run classic script microtasks before restoring currentScript or releasing child parser nesting. Defer nested checkpoints to the outer script and wait for exception reporting before running reactions.
Cover inline and external scripts, syntax and runtime errors, document.open/write insertion points, and nested execution. Record the repaired synchronous-script bailout WPT.
Track nested ignore-destructive-writes counters per Document across module evaluation and its cleanup checkpoint. Preserve explicit input streams, cross-realm Document identity, and writes from later tasks or pending top-level await continuations.
Validate root and child module behavior with five regression tests. The 149-case dynamic-markup WPT run gains four passes with unchanged remaining outcomes; update their recorded case status. cargo fmt, workspace all-feature clippy, and all 17835 nextest tests pass.
Record the full CDP run of main at 4b42f9d3a0 against WPT db95fafd1f
with 50 workers and the existing 120-second outer deadline. The 14,065
selected cases and their execution order match the previous full run.
Results are 10,420 pass, 3,411 fail, 223 timeout, 6 error, 4
harness-stalled and 1 crash. Passes increase by 15 from the tracked
lists. The XHR Content-Type timeout passed five focused runs. The
historical HTMLAreaElement assertions and the earlier sandbox popup
failure reproduced on both release builds. Trusted Types timed out
intermittently on both. The lists record the complete run outcomes.
Release SHA256 f6fbad622ac3cadfc09d447ca36181fab133c365964f5dc391c27917870b922f
Compare real Moli and Chromium documents through cold partial, full and
query AX requests. Check role/name/URL/value/state observations against
independent expectations, complete warm-tree stability and mutation refs.
Include shadow slots, visibility/containment, native and ARIA form state,
SVG namespaces, document links, a 301-row table and 1,000 links. Keep raw
responses, timings, binary/fixture hashes and every failure in artifacts.
Release validation finds 14/20 matching cases and 16/22 matching phases.
The 24 differing fields also occur in the retained 3dabaf9942 baseline;
the benchmark deliberately fails until these AX gaps are addressed.