Use the upstream owner-settlement API and publish nested command output at
the shared completion boundary. Inspector callbacks can already publish the
pending prefix while an owner remains paused; fence the concrete published
tail even when settlement has no new batch. This keeps beforeunload output
ahead of navigation fetch without closing the suspended command recorder.
Include before-fetch messages and completion details in the existing
paused-navigation regression assertions, and format replayed imports.
Validation: cargo fmt --all; workspace/all-target/all-feature Clippy with
warnings denied; nextest 20,797 passed, 16 skipped, 32 threads, zero retries.
Both paused beforeunload regressions also passed 10 consecutive rounds.
Keep lossless CharacterData values in the native DOM so creation, edits, cloning, equality and mutation records use the same data. Preserve UTF-16 through document factories and text operations, and compare existing lossless element attribute values.
Remove synchronous child request entry points left unused after native form
bindings replaced the detached callbacks. Keep the shared planned-navigation
path and remove its stale event re-export.
Load a same-origin popup document before testing Navigation API cancellation,
then drive each form-navigation task. Preserve asynchronous delivery, source
identity, POST data, cancellation, and closed-document submission assertions.
Validation: cargo fmt --all; workspace all-target/all-feature clippy with
warnings denied; zero-retry nextest (20,653 passed, 16 skipped). DOM WPT
544/544, registry WPT 2,351/2,351; HTTP/HTTPS replacement fixture 772/772.
Route native-backed windowless replaceChild through the shared replacement pipeline, preserving observer records, live state and argument brands. Keep Attr validation in DOM order and preserve connection state during adoption, including connected ShadowRoots.
Reset removed focused areas directly to the viewport without focus-update
events. Capture old shadow-host focus states before mutation so dependent
styles invalidate after removal, and scope the lookup to the owning document.
Expose per-document focused areas through Document and ShadowRoot, preserve
navigation focus-reset behavior, and retire deferred parser focus events.
Cover removal, adoption, atomic moves, inactive frames and shadow styles.
Share native Node-or-DOMString and convert-nodes-into-node logic with
ParentNode. Convert arguments before the parentless check, preserve the
receiver among inputs, compute viable siblings before node movement,
and choose pre-insert or replace from the post-conversion tree.
Route native-backed detached methods through the same algorithms while
retaining their script ownership policy. Use the existing replace-child
pipeline instead of inserting then removing and coalescing the entire
observer queue. Preserve previous operations and source removals.
Keep empty replacement record boundaries and perform real self removal
and reinsertion so lifecycle, range and tree effects stay consistent.
Queue disconnection and connection for ordinary same-document moves,
including self insertion at the same position. Preserve atomic-move
connection state through the source profile, and correct parser/JS
comparison expectations against the Chromium lifecycle probe.
Cover six document surfaces and ordinary/borrowed Element,
CharacterData and DocumentType methods, failures, reentrant conversion,
UTF-16, viable siblings, fragments, record order and self reactions.
Validation: cargo fmt --all; strict workspace/all-targets/all-features
clippy; cargo nextest run --no-fail-fast (32 threads, CI retry profile).
Summary [ 129.338s] 20633 tests run: 20633 passed (9 slow), 16 skipped
Convert all Node-or-DOMString arguments before tree operations, preserving
native brands, conversion errors and UTF-16 code units. Keep a single
input node intact and build multi-input fragments sequentially, so failed
insertion exposes the required earlier removals. Reuse this path for
native-backed windowless ParentNode methods.
Validate against the post-conversion tree. Document.replaceChildren
excludes the existing children, following the current DOM algorithm.
Suppress intermediate replace-all target records at their source and
queue one final replacement record without coalescing prior operations
or argument-conversion removals. Preserve source/fragment removals and
reuse the existing tree, reaction and detached script policies.
Cover six document surfaces, ordinary/borrowed calls, failed conversion,
invalid input order, duplicates, doctypes, UTF-16, empty input, Range
boundaries and single/multiple-input observer record ordering.
Validation: cargo fmt --all; strict workspace/all-targets/all-features
clippy; cargo nextest run --no-fail-fast (32 threads, CI retry profile).
Summary [ 127.801s] 20632 tests run: 20632 passed (9 slow), 16 skipped