mirror of
https://github.com/pvrzz/Portage.git
synced 2026-11-29 05:22:26 +00:00
487282b5bd
- Write schema and records in one versionchange transaction so an interrupted restore cannot leave a schema-only database that later runs skip forever. Existing-database skips no longer make a clean rerun exit non-zero. - Encode binary payloads as base64 (much smaller and faster than number arrays), keep the 8 MiB per-value cap reachable inside the 32 MiB encoded budget, and check the encoded budget incrementally while snapshotting. - Add Float16Array, Error subclasses (name/message/stack/cause), Number/String/Boolean wrappers and ImageData. Typed arrays carry a byte-order marker so a cross-endian migration cannot silently swap numeric values. - Add 120 s per-origin snapshot/restore timeouts and document the 64 MiB origin cap, atomic restore, and the current limits. - Extend the Firefox/Chrome IndexedDB E2E with these values, an aborted-restore atomicity check and the rerun semantics.