()
| 1059 | } |
| 1060 | |
| 1061 | async function logAllStorageKeys() { |
| 1062 | try { |
| 1063 | let keys = await getAllKeys(); |
| 1064 | console.log("All keys:", keys); |
| 1065 | for (const k of keys) { |
| 1066 | console.log(k, await getStorageData(k)) |
| 1067 | } |
| 1068 | } catch (error) { |
| 1069 | console.error("Error retrieving keys:", error); |
| 1070 | } |
| 1071 | } |
| 1072 | |
| 1073 | // USE WITH CARE - THIS MAY DELETE ALL ENTRIES |
| 1074 | async function deleteKeys(keyToDelete) { |
nothing calls this directly
no test coverage detected