title: How persistent is localStorage?
body: <p>I'm depending heavily on localStorage for a plugin I'm writing. All the user settings are stored in it. Some settings require the user the write regex'es and they would be sad if their regex rules are gone at some point. 
  So now I am wondering just how persistent the localStorage is.</p>
  
  <p>From <a href="http://www.w3.org/TR/webstorage/#dom-localstorage">the specs</a>:</p>
  
  <blockquote>
    <p>User agents should expire data from the local storage areas only for security reasons or when requested to do so by the user.</p>
  </blockquote>
  
  <p>The above looks like it works just like cookies on the clientside. I.e. when the user clears all browser data (history, cookies, cache etc) the localStorage will also be truncated. Is this assumption correct?</p>