3 <title>Local Storage Test
</title>
4 <script type=
"text/javascript">
6 var x
= localStorage
.getItem('foo');
7 document
.location
= '#get'; // Because NavigateToURL() in the UI test
8 // waits for a location change.
11 localStorage
.setItem('foo', 'bar');
12 document
.location
= '#set';
16 document
.location
= '#clear';
23 <li><a href=
"javascript:get()">Get item from localStorage
</a>
24 <li><a href=
"javascript:set()">Set item in localStorage
</a>
25 <li><a href=
"javascript:clear()">Clear localStorage
</a>