Prepare the shared callback type directly for MutationObserver, IntersectionObserver, ResizeObserver, and PerformanceObserver. Remove the PreparedObserverCallback bridge while preserving exact observer and callback Realm identities and existing registration backends.
Validation: cargo fmt --all; strict workspace clippy; full nextest (20,114 passed, 17 skipped).
Resolve shared callbacks and PerformanceObserver registrations from the installed Context binding. Preserve exact Window Realm authorization and Worker close and termination policies, rejecting missing bindings before restoring callback carriers.
Validation: cargo fmt --all, strict workspace clippy, and full nextest (20,108 passed, 17 skipped).
Compose Window and Worker owners with CommonRuntimeState and install weak Context bindings. Move finalizer registration and teardown behind the shared component, releasing registry borrows before cleanup.
Validation: formatting, strict workspace clippy, and full nextest verification (20,107 passed, 17 skipped). An initial intermittent CLI meta-refresh failure did not reproduce in 50 individual runs or five CLI-suite runs; its cause remains unconfirmed.
Route PerformanceObserver and queueMicrotask notifications through shared invocation and exception reporting. Preserve Streams and Trusted Types return conversion and propagation rules, with shared Window and Worker behavior tests.
CDP's Network.Cookie declares `priority` as a required field, and Chrome
always emits it: a cookie set without a Priority attribute reports
Chromium's default, `Medium`. Moli omitted the field in that case, so
clients that deserialize cookies strictly reject every such cookie.
chromiumoxide (0.9), for one, fails Network.getCookies / Storage.getCookies
with "missing field `priority`".
Report `Medium` when the stored cookie carries no priority, and pin it
with a Storage.getCookies regression test.
Backport the shared iframe realm-retention fix and its GC regressions.
Adapt mode coverage to main's Mock and OnDemand policies.
Validated with cargo fmt --all, full all-feature Clippy, and
20,081 passing nextest tests (17 existing skips).
(cherry picked from commit 1b40c6f53b)