src/vs/platform/storage/browser/storageService.ts/IndexedDBStorageDatabase/connect
class IndexedDBStorageDatabase:	private connect(): Promise<IDBDatabase> {
		return new Promise<IDBDatabase>((resolve, reject) => {
			const request = window.indexedDB.open(this.name);

			// Create `ItemTable` object-store when this DB is new
			request.onupgradeneeded = () => {
				request.result.createObjectStore(IndexedDBStorageDatabase.STORAGE_OBJECT_STORE);
			};

			// IndexedDB opened successfully
			request.onsuccess = () => resolve(request.result);

			// Fail on error (we will then fallback to in-memory DB)
			request.onerror = () => reject(request.error);
		});
	}