Cannot use localStorage.setItem in a webextension content page, "quota exceeded"
Categories
(Core :: Storage: localStorage & sessionStorage, defect)
Tracking
()
People
(Reporter: mythmon, Unassigned)
References
Details
While trying to use the Normandy Devtools extension, I get a quota exceeded error when trying to store a few bytes into local storage. I am using the window.localStorage API in a content page hosted by a privileged extension.
The drive containing the profile has plenty of space, and StorageManager.estimate() tells me that there is plenty of room left (it reports ~2GB). The extension is not otherwise using any form of storage, as far as I can tell.
Comment 1•6 years ago
|
||
The DOM storage folks might have good suggestions on how to debug from there...
Comment 2•6 years ago
|
||
Hi Jan,
:mythmon is triggering this issue on Nightly, where LSNG is enabled by default, is there anything that we can ask Michael to try locally to be able to collect some additional useful information about this issue?
Comment 3•6 years ago
|
||
Hey Luca, did you mean to revert the Bugzilla component? 😄 I think Toolkit :: Storage is for our internal storage bindings—LMDB and SQLite; the Core :: Storage: * components are for the DOM APIs like IDB and localStorage that are built on top of them.
Comment 4•6 years ago
|
||
(In reply to :Lina Cambridge from comment #3)
Hey Luca, did you mean to revert the Bugzilla component? 😄 I think
Toolkit :: Storageis for our internal storage bindings—LMDB and SQLite; theCore :: Storage: *components are for the DOM APIs like IDB andlocalStoragethat are built on top of them.
Hi Lina, I'm sorry, I didn't want to actually change that.
I was adding the needinfo assigned to Jan, but I got a mid-air conflict and I guess that by choosing to add my comment and needinfo then I did set back the bugzilla product and component where the issue was originally filed (which wasn't intended, and I'm changing it to the right one).
Comment 5•6 years ago
|
||
No worries, I figured!
Comment 6•6 years ago
|
||
(In reply to Luca Greco [:rpl] [:luca] [:lgreco] from comment #2)
Hi Jan,
:mythmon is triggering this issue on Nightly, where LSNG is enabled by default, is there anything that we can ask Michael to try locally to be able to collect some additional useful information about this issue?
Hi Luca,
Yeah, it would be helpful if someone could run it in a debug build and attach console output (warnings, etc) to this bug.
| Reporter | ||
Comment 7•6 years ago
|
||
And of course now I can't reproduce this, even in my original profile. If it happens again I'll try and get a debug log.
Comment 8•6 years ago
|
||
Yes, this is probably the same issue as in bug 1649503.
Updated•6 years ago
|
Description
•