Add very simple loading test for non-SFI NaCl.
[chromium-blink-merge.git] / chrome / test / data / dom_storage_empty_db.html
blob09ec508a7070868fece145ebdd7bfc5dae32eb08
1 <html>
2 <head>
3 <title>Local Storage Test</title>
4 <script type="text/javascript">
5 function get() {
6 var x = localStorage.getItem('foo');
7 document.location = '#get'; // Because NavigateToURL() in the UI test
8 // waits for a location change.
10 function set() {
11 localStorage.setItem('foo', 'bar');
12 document.location = '#set';
14 function clear() {
15 localStorage.clear();
16 document.location = '#clear';
18 </script>
19 </head>
21 <body>
22 <ul>
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>
26 </ul>
27 </body>
28 </html>