Bad Apple Safari update breaks IndexedDB JavaScript API, upsets web apps

From theregister.com

Apple’s WebKit team has managed to break the popular IndexedDB JavaScript API in the latest version of Safari (14.1.1) on macOS 11.4 and iOS 14.6.

The bug, first reported on June 2, 2021, only manifests when applications first try to use IndexedDB NoSQL manager to store data. Reloading a web page or app implementing the API resolves the issue, according to several bug reports.

Nonetheless, the situation is less than ideal for web developers and for anyone using the desktop or mobile versions of Safari. While there are a variety of storage APIs available to web developers, IndexedDB is one of two (the other being the Cache Storage API) that’s recommended; the other options have specific use cases, shortcomings, or aren’t widely supported.

Read more…