I wonder the same thing, especially thinking about local-first image storage.
Iirc there are different limits on IndexedDB sizes depending on the browser/platform, and the tighter limit is around 1GB. But I would love to hear from people that ran into those limits.
It really depends on the browser. There's a good breakdown here:
https://rxdb.info/articles/indexeddb-max-storage-limit.html