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.