Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1b41cc5725
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.816 kb
<script type="text/javascript">
var x = localStorage.getItem('foo');
<p>This page has called <code>localStorage.getItem('foo')</code>.
Since no data has been stored, no database file should have been created.</p>
<p>If you click <a href="javascript:localStorage.setItem('bar', 'baz');">here</a>, data will be stored, and a database file should be created.</p>
<p>If you click <a href="javascript:localStorage.clear();">here</a>, the local storage will be cleared, and the database file should be gone when the browser is closed.</p>
<p>(This is for <a href=""></a>
and <a href=""></a>.)</p>
Jump to Line
Something went wrong with that request. Please try again.