Hi, i have
“permissions”: [
“storage”
],
in my json, but debug tells me it still cant use the
await browser.storage.local.set({c}).then(setItem, onerror);
Any suggestion? It might work when i load the extension as “new”, but when i reload, it doesnt work.
I am keeping Firefox DevEdition open and just press reload in the temporary extension are.
21:36:21.302 Uncaught (in promise) TypeError: can't access property "storage", browser.local is undefined
moz-extension://4f283ae9-2fa2-46b3-9fa0-13f78e766e13/popup.js:3
EventListener.handleEvent* moz-extension://4f283ae9-2fa2-46b3-9fa0-13f78e766e13/popup.js:1
popup.js:3:4