Filter the template contents that are actually serialized and include reachable author shadow roots owned by inert Documents. Preserve inert iframe attributes without parsing or loading their raw srcdoc, and leave the live source unchanged.
Route page HTML, JSON and MHTML through SerializeDocument options and keep Markdown on its own command. Stream live frame Documents into srcdoc without cloning or editing DOM state, and remove copy-specific helpers. Finish core commands consistently and retain paired document metadata across auxiliary trace serialization.
Stream embedded Documents through the existing explicit traversal and keep shadow-root selection independent from its markup profile. Add bounded output, virtual insertions, output filtering, and opt-in DOM access probes. Keep ordinary output free of per-node export checks and nested escaping work.
/json/protocol served V8's js_protocol verbatim (Schema, Runtime, Debugger,
Console, Profiler, HeapProfiler), while the dispatcher implements 29 more
domain groups (Page, DOM, Network, Target, Input, Emulation, ...). Clients
that gate calls on the advertised protocol refused commands Moli supports.
- Derive strum::VariantNames on the action enums the dispatcher parses
methods against, and expose moli_protocol::implemented_cdp_commands()
(domain -> wire command names). Generated from the implementation, so
it cannot drift.
- /json/protocol merges that list into the V8 schema once (OnceLock):
V8 domains keep full schemas and gain any missing command names;
Moli-implemented domains list command names only, with a description
saying parameter schemas are not published.
- The embedded CDP_PROTOCOL_JSON constant is unchanged, so
embedded_protocol_preserves_the_complete_vendored_schema still holds.
Tests: wire names (getFullAXTree, getDOMStorageItems, navigate; 29
domains) and the discovery endpoint test now asserts Page / DOM /
Network / Target / Runtime / Input and Page.navigate are advertised.
Reverting to the verbatim V8 schema fails it ("must advertise Page").
fmt and clippy -D warnings clean for both crates.
Resolve SVG object bounds and shaped text through the shared styled SVG scene, then map them through the outer CSS viewport. Project descendant computed styles without mutating the live DOM, preserving use-instance inheritance and outer transform ownership.
Cover chart measurement and paint, Chromium-calibrated SVG geometry, referenced shapes, and the formerly empty circle client rectangle.
Reuse the Page-owned browsing context name cell and auxiliary identity when
bootstrapping a replacement Document after target lookup entries are removed.
Keep first-document registration and identity assertions intact.
Cover unregister-before-bootstrap deterministically and exercise in-flight
navigation closure through the default CDP target lifecycle smoke.
Record the complete all-profile CDP run of source 1344d8d26d with 50 workers,
the unchanged 120-second outer deadline and WPT db95fafd1f. All 14,065
selected cases are present, including 442 IndexedDB entries; case selection
and execution order match the first full run.
Results: 10,405 pass, 3,426 fail, 224 timeout, 6 error, 3 harness-stalled,
1 crash. Passes increase by 35 from the tracked lists and by 10 from the
unfixed release run, with no new pass-to-nonpass transitions against that run.
The five fixed WPT cases pass in the complete run and in 5/5 targeted rounds.
Retain the observed iframe failure and Trusted Types timeouts: the old
release also fails the iframe case, and all three Trusted Types variants
have old-release timeout evidence, including 4/10 concurrent runs for 36-last.
Document-write MutationObserver subtest variation also reproduces on the
old release. Do not replace full-run statuses with selective retry results.
Release SHA256: 494b20e2bdd6730cbc855d1f25919453b16755964c74cc4bada3f526eefe58af
A running script can be adopted into another Document without changing the
source Document's currentScript. Query the main execution stack for the
main Document rather than filtering by the node's new ownerDocument;
retain the existing per-child-Document stack and shadow visibility checks.
Dynamic inline error reporting exposed this pre-existing bug as a WPT
failure. A direct old-release probe also returns the wrong currentScript,
so the old WPT pass was masking the exception rather than proving correct
behavior. Cover adoption, the destination's null value and stack restoration.
Cache.keys rebuilt stored native requests through the author Request
constructor. Credential-bearing URLs supplied by XHR are valid internal
identities but public URL conversion now rejects them, leaving the Cache
Storage credentials WPT waiting for a worker reply.
Use the existing native Request declaration to restore cached keys without
calling author constructors. Retain the public credential validation and
cover three distinct credential URLs, headers, cloning and a replaced
Request constructor.
Overflow clip geometry retained fractional layout offsets while its box
background used snapped paint geometry. Atomic flow grouping changed which
background and text commands shared a clip layer, exposing different edge
blending in three grid scrollbar reftests (240 pixels, max difference 17).
Snap owned overflow clips in the same pre-transform paint space as box
backgrounds. Preserve CSSOM geometry, property transforms and clip-chain
reuse. Cover block and grid containers with fractional offsets and sizes.