title: LocalStorage Firefox 3.6
body: <p>According to everything I've read, Firefox 3.5+ supports localStorage. And yet I'm seeing the alert (failing) in Firefox 3.6. Do I have some strange settings in my Firefox? Any ideas?</p>
  
  <pre><code>function supports_html5_storage() {
      try {
          return 'localStorage' in window &amp;&amp; window['localStorage'] !== null;
      } catch (e) {
          alert('failing');
          return false;
      }
  }
  </code></pre>
  
  <p>Note: The page has an HTML5 doctype (though I think this makes no difference).</p>