(key)
| 38 | }, |
| 39 | |
| 40 | async remove(key) { |
| 41 | chrome.runtime.lastError = undefined; |
| 42 | if (key in this.store) { |
| 43 | delete this.store[key]; |
| 44 | } |
| 45 | globalThis.chrome.storage.onChanged.callEmpty(key); |
| 46 | }, |
| 47 | |
| 48 | async clear() { |
| 49 | // TODO: Consider firing the change listener if Chrome's API implementation does. |
nothing calls this directly
no outgoing calls
no test coverage detected