v132 ยท offline / storage
navigator.storage no longer an EventTarget
navigator.storage is no longer an EventTarget navigator.storage was made an EventTarget for the Storage Pressure Event, which never made it past the prototype phase: https://chromestatus.com/feature/5666274359115776 This dead code is being removed and as a result, navigator.storage will no longer extend EventTarget.
concepts
-
navigator.storage no EventTarget
navigator.storage drops the EventTarget interface โ it never fired any events anyway.
-
quota polling
The replacement pattern: poll
estimate()on a schedule, real IDB writes, warn threshold. -
migration snippet scanner
Paste code; the scanner flags broken patterns and shows the v132-safe replacement. Plus a 7-item checklist for your codebase audit.
-
listener inventory
Live probe of what's on
navigator.storagenow, plus a list of common JS libraries and their migration status.
why it shipped
navigator.storage is no longer an EventTarget navigator.storage was made an EventTarget for the Storage Pressure Event, which never made it past the prototype phase: https://chromestatus.com/feature/5666274359115776 This dead code is being removed and as a result, navigator.storage will no longer extend EventTarget.