Reuse the current native Document binding and existing Log cursors before
preparing live output. Remove the unused network-log forwarding method and
yield ready body pumps and collectors to their Context executor.
Preserve every physical chunk and the existing transport budgets. Add a
cancellation regression and a public 128 MiB burst/Log replay probe; retain
before/after evidence in the acceptance report.
Validation: fmt, strict workspace Clippy, 19,531 nextest passes (13 configured
skips), 48 CDP groups, 165 WebDriver cases, shared-page lifecycle, exact local
wire checks and three concurrent website rounds.
Read navigation responses and commit metadata in one owner turn, and resolve
inherited request headers together. Reuse existing Context capabilities and
exact PageAgentHost sessions; remove unused background subscriptions and idle
followup dialog reads. Preserve physical handle validation and output budgets.
Gate the three delayed Worker cancellation fixtures on actual requests and
transport completion, retaining their semantic assertions and checking joins.
Validated with root fmt, strict workspace Clippy and nextest (19530 passed,
13 configured skips; 91 expected panic pairs unchanged), 60 cancellation runs,
48 CDP groups/536 scenarios, 165 WebDriver cases and shared-page lifecycle.
Pinned local comparisons reduce owner calls from ~18.8k to ~12k; the report
retains the remaining main-relative latency and concurrent Slack open items.
Record the full frozen release, client, Lexbench, webfetch and balanced local measurements against main 8e7be5c3fb. Preserve failed replay and setup attempts, observer effects and the remaining navigation regression. Update instrumentation for the additional test-support enqueue site.
Keep live Contexts and Page/Worker streams after their protocol transport
closes. Replacement observers start at the existing producer sequence and
receive native state; frozen output and cursor leases from the old observer
cannot cross into the new FIFO. Retired streams remain closed, initial binding
retains its replay contract, and transport budgets are unchanged.
Validate with fmt, strict workspace Clippy, 35 focused and 481 related tests
across three zero-retry iterations, and full nextest (19528 passed, 13
configured skips). Cover websocket owner restart, all Worker stream families,
ServiceWorker recovery without a Window, delayed output/fences and overload.
Stream remaining original loaders, synchronous XHR, manifest and popup resources with their real identities and metadata. Remove obsolete cross-layer ownership entries and preserve exact command routes for error replies.
Unify pre-body response/authentication decisions across Window, Worker, XHR, navigation and controlled responses. Resume or cancel the original physical stream, release old challenges before retry, and preserve partial binary bodies and keepalive lifetime.
Retain asynchronous Window responses, beacon/ping and CSP policy through page retirement. Keep intercepted bytes, fetch options and rejected response facts on the original request, and synchronize lifecycle fixtures with the real callback boundary.
Replace the abandoned publication-flag migrations with the original request transfer and one ServiceWorker result channel. Preserve admitted bootstrap policy and publish physical CSP, preflight and final authentication phases without buffered auth-only branches.
Route dedicated/shared/service main scripts and updates through Context-owned loads. Keep preflight identity and rejected response bodies through retirement and cancellation.
Own Worker service lanes and late binding, bound retained Worker output and remove redundant identity/event mirrors. Publish actual target creation and retirement to every frontend independently of command origin or discovery.
Commit document, child and Worker network facts at BrowserOwner while retaining renderer FIFO and rejected responses. Recover Worker observation at readiness and bind fetch decisions and initial surfaces to native ownership.
Admit dedicated, nested, shared and service Workers natively. Bind inspection at readiness, preserve bootstrap ordering and issue replay, and keep Runtime admission and failed navigation retirement tied to native state.
Project Context, WebContents and Document occurrences across CDP, BiDi and Classic. Share the protocol owner, preserve navigation continuations across adapter turns, and join Worker/resource work at its native shutdown boundary.
Bind document commands, resource work, Worker controls, downloads and retirement to exact native handles. Remove Context-wide mirrors and transfer physical ownership to the independent Core service.
Make AgentHost dispatch and session ownership explicit. Gate commands on the committed Document projection instead of treating protocol completion as native navigation authority.
Construct and commit initial and successor Documents through WebContents. Preserve exact cancellation, Context cache and loading policy across response preparation, authentication and interception, and retire failed attempts without destroying the current Document.
Move page selection, permissions and document refresh into Context ownership. Separate download policy and observation from execution and artifact lifetime.
Route Runtime, DOM, CSS, accessibility and IO inspection through exact renderer bindings. Separate inspector replies and replay from Page caches, preserve session teardown isolation, and remove obsolete Page inspection entries.
Put Window, emulation, request, security and environment policy under Browser ownership. Own Context storage/runtime roots and inherited defaults while retaining per-session DevTools contributions.
Move document lifecycle, loaded state and navigation controllers under stable native WebContents identities. Keep protocol identifiers separate from Browser handles and constrain synthetic identities to tests.
* fix(parser): preserve text document MIME and encoding semantics
* fix(document): share literal text parsing across child document paths
* fix(document): construct projection parser with the public API
Extracted from 7cf4040051a3ca350f9b4955347aabcf393398fd.
Validation: cargo fmt --all; cargo clippy --workspace --all-targets
--all-features -- -D warnings. Runtime tests were not run for this split.