Reputation: 5995
I'm developing a Firefox extension. It's loaded temporarily (via about:debugging) and I'm trying to use the local storage API. The following screenshots are of the extension's debug console.
First I set a value:
But it doesn't seem to be there:
I do have the "storage" permission in my manifest and my extension has an ID.
Upvotes: 1
Views: 1898
Reputation: 12018
The localStorage
in the browser is not the same as the storage.local
for an extension. Instead, try getting the value once it's set and log it from there.
Upvotes: 3