Files
portage/tests
souta 4f630de25f audit: recover interrupted IndexedDB restores and harden codec edge cases
- Treat an existing destination database with no object stores (when the
  source has stores) as an interrupted upgrade: delete and retry instead of
  skipping it forever. Verified by killing Chrome mid-restore; the next run
  restored all 49,990 synthetic records.
- Keep snapshot error indices aligned with the actual database index.
- Look up Error constructors through a Map: a site-controlled Error.name of
  "constructor"/"__proto__"/"toString" could corrupt the value or abort the DB.
- Brand-check Number/String/Boolean wrappers instead of toString sniffing so
  Symbol.toStringTag cannot change a plain object's type; accept ordinary
  class instances as plain objects (prototype dropped, matching structured
  clone) while still rejecting platform-object tags.
- Preserve AggregateError.errors and ImageData.colorSpace.
- Document the empty-container retry, the 120 s per-origin timeout and the
  additional clone types.
2026-10-23 21:24:55 +09:00
..