blob: d0fcc411668b59de40bb97b3b8132f481ce9f3e1 [file] [log] [blame]
[email protected]f7e29a32010-06-11 16:17:051<html>
2<body>
3<script type="text/javascript">
4 var x = localStorage.getItem('foo');
5</script>
6<p>This page has called <code>localStorage.getItem('foo')</code>.
7Since no data has been stored, no database file should have been created.</p>
8
9<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>
10
[email protected]d87162f22010-06-21 14:50:3411<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>
12
13<p>(This is for <a href="https://bugs.webkit.org/show_bug.cgi?id=40301">https://bugs.webkit.org/show_bug.cgi?id=40301</a>
14and <a href="https://bugs.webkit.org/show_bug.cgi?id=40767">https://bugs.webkit.org/show_bug.cgi?id=40767</a>.)</p>
[email protected]f7e29a32010-06-11 16:17:0515</body>
16</html>