I'm using Lawnchair to store persistent data using the "dom adapter" of my web client (Firefox 13.0) and have hit the storage quota. Console.log says
Persistent storage maximum size reached
Fair enough; I'll just nuke it with this:
<script type="text/javascript" charset="utf-8">
Lawnchair(function() {
this.nuke();
console.log("nuked");
});
</script>
Before I hit my storage quota, the code above worked to wipe everything out of persistent storage. But now it doesn't work. The page displays fine, but console log shows nothing. I expect it to say "nuked" as it used to.
The following code displays all of my persistent data (after trying to nuke() it with the code above).
<script type="text/javascript" charset="utf-8">
Lawnchair(function() {
this.keys(function(values) {
values.forEach(console.log)
})
});
</script>
How can I make Lawnchair.nuke() work after it's hit its storage limit?