document.requestStorageAccess({ indexedDB: true }).then(
async (handle) => {
console.log("indexedDB access granted");
await handle.indexedDB.deleteDatabase("foo");
},
() => {
console.log("indexedDB access denied");
},
);StorageAccessHandle: indexedDB property / notebook
StorageAccessHandle: indexedDB property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.