I'm working on a Safari Web Extension that is migrated from Chrome/Firefox. Using the Web Inspector Storage tab has some strangeness.
-
Note there is one key/value pair showing
test = test
. -
I execute
await browser.storage.local.clear()
. But the display does not change. -
I execute
await browser.storage.local.get('test')
and I getundefined,
but the display still showstest = test
. -
I execute
await browser.storage.local.set({test: 'test 123'})
and I getundefined
. No change to the display. -
I execute
await browser.storage.local.get('test')
and I get"test 123"
. Display still saystest = test
.
All of this leaves me wondering "What is that display showing? Is it not the local storage associated with the extension? And if not, how can I view the extension's local storage area?"