IndexedDB databases() returns a list of all databases accessible by the origin of the current frame. The return value is a Promise that resolves with a list of IDBDatabaseInfo objects (currently just dictionaries of database name and version).
Docs: Explainer: https://andreas-butler.github.io/idb-databases/EXPLAINER