May I ask you about localStorage?

I want to update some property, but no space left on device and
FireFox throws error "NS_ERROR_FILE_NO_DEVICE_SPACE",
so "localStorage[property]" stays unchanged.

try{
  localStorage[property] = value; //throws
"NS_ERROR_FILE_NO_DEVICE_SPACE"
}catch(e){
  localStorage.removeItem(property);// also throws
"NS_ERROR_FILE_NO_DEVICE_SPACE"
}

How to update property or remove it at all?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to