Carry the complete live cursor mutation matrix from superseded #1341 onto SQLite, without its snapshot rescanning implementation. Cover writes during iteration, pending cursor values, forward/reverse and unique directions in Window, iframe and Worker contexts.
Keep Uint8Array identity while validating the native buffer: reject author proxies and resizable/growable storage, distinguish detached fixed buffers from detached resizable buffers, and reject shared storage unless the declaration explicitly permits it. Add derive-level allow_shared support and mark TextEncoder.encodeInto’s destination according to Encoding IDL. Depends on the shared native buffer introspection foundation; conversion tests cover direct locals, optional/sequence fields, shared policy and getter exceptions.
Page.enable must acknowledge a native Document that is already running while protocol Page adoption waits for resources. Reuse the prepared-document lifecycle state instead of starting another lazy initial navigation, which can revoke the existing work and deadlock behind Fetch interception. The regression holds a script response, enables Page before adoption, verifies the original paused Fetch remains valid, and checks the final URL for both normal and crashed targets.
Refresh classifications from the unfiltered all-profile CDP run of
14,064 cases against the release build of 909ea48c37.
Results: 10,282 pass, 3,503 fail, 246 timeout, 25 harness-stalled,
7 error, and 1 existing crash. IndexedDB has 396 pass, 46 fail,
and no timeouts; all 35 original regression cases and 660 subtests pass.
Keep the first full-run results, including two Trusted Types stalls
and the existing Worker CSP timeout. Candidate reruns passed on both
HEAD and the pre-migration baseline; subsequent neighbor runs also
passed without replacing the original full-run classifications.
Validation: full WPT Cross run, case-list/report integrity checks,
and git diff --check. No Rust source or build metadata changes.
Keep IndexedDbManager as the owner of a required SQLite service, with committed usage and shutdown access. Remove the synchronous storage API, legacy persistence and transaction data copies.
Delete bucket IDB owner-key imports while preserving durable bucket identities, pending deletion and CacheStorage recovery. Port storage fixtures and the native benchmark to actual SQL connections and commands; retain generic key/direction tests and port cold-reopen and invalid-key transaction contracts to SQLite.
Validation: cargo fmt --all; workspace Clippy with all targets/features and -D warnings; nextest 21,815 passed,19 skipped;229 native/storage tests passed all20 stress iterations;memory/disk benchmark smoke passed.
Remove synchronous factory and transaction lifecycle fallbacks and the legacy blocked-open coordinator. Require SQL clients when creating database wrappers and refresh metadata directly from the committed snapshot.
Route exact Window and popup retirement to native SQL connections through weak references. Closing a shared-realm popup now releases its upgrade blockers without closing the opener or retaining collected wrappers.
Validation: cargo fmt --all; workspace Clippy with all targets/features and -D warnings; nextest 21,858 passed, 19 skipped; 495 related tests passed all 20 stress iterations. Preserved independent protocol baseline failures in local evidence.
Route record, index, schema and cursor operations through the shared SQL dispatcher. Delete synchronous manager executors and full-store snapshots, and stop retaining their duplicate request state.
Validation: cargo fmt --all; workspace Clippy with all targets/features and -D warnings; nextest 21,859 passed, 19 skipped; 353 related tests passed all 20 stress iterations.
Route the public manager constructor through the SQLite service, including protocol ephemeral browser contexts. Match injected bucket owners and run existing storage fixtures through native completions and the Page task dispatcher.
Reserve bounded cleanup work before dispatch, serialize duplicate tombstones under the existing quota coordinator, and resolve the accepting Page or Worker promise after SQLite and OPFS cleanup. Keep accepted deletion alive after Page retirement and protect same-name replacement buckets with their exact identity.
Publish native connection closure after notification unregistration so versionchange checkpoints cannot latch a stale blocked event. Route rejected inline cancellation through rollback and abort delivery for live owners, keeping request errors before transaction aborts.
Reserve bounded cleanup metadata and one control slot before fencing an owner. Close each database on its SQL lane, retire generation directories, cancel accepted factory requests and only then allow a new generation. Return logical connection retirement capacity at the native close receipt even when callers retain closed wrappers.
Check request SAVEPOINTs and COMMIT against committed bucket usage shared with CacheStorage and OPFS. Acquire quota on the storage worker, retain reservations through publication, and finish rejected deferred submissions only after native rollback confirmation.
Cover maximum exact WebIDL versions through native transaction rollback,
regular writes, catalog recovery and real factory events and reopens.
Assert synchronous rejection above 2^53-1 and preserve the native overflow
guard, original generation and stored records.
Resolve open/delete through the native connection FIFO and owner completion
tasks. Bind actual Page/Worker database lifetimes to native connections and
retain request leases through their event microtask checkpoint.
Separate the worker-owning Service from clonable ServiceClient handles. Wake
all factory requests on shutdown, and wait for an in-flight close receipt
before acknowledging versionchange to avoid spurious blocked events.
Roll back failed or interrupted upgrades before following opens proceed,
preserve explicit COMMIT, and cover real web APIs, Worker retirement, disk
restart, legacy-directory isolation and native shutdown failures.
Borrow external-object slots and build final shared Blob/File backings directly. Track decoder allocations across whole results, discard unpublished and internal backings without waiting for GC, and preserve resource failures through reads, inline writes, backfill and lazy cursors.
Share schema snapshots in SQL writes and charge key buffers, multiEntry deduplication, and output capacity to their existing task permit. Refund failed conversions and temporary traversal state while preserving ordinary getter exceptions and inline-key rollback semantics.
Lease shared map, store and index definitions from the native metadata budget and release database mirrors with their wrappers. Preserve FIFO schema failure events, roll back failed materialization, and promote successful SQL upgrades without allocating a new mirror.