OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
3 <title>IDBObjectStore.createIndex() - empty name</title> | 3 <title>IDBObjectStore.createIndex() - empty name</title> |
4 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> | 4 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> |
5 <script src=../../../resources/testharness.js></script> | 5 <script src=../../../resources/testharness.js></script> |
6 <script src=../../../resources/testharnessreport.js></script> | 6 <script src=../../../resources/testharnessreport.js></script> |
7 <script src=support.js></script> | 7 <script src=support.js></script> |
8 | 8 |
9 <script> | 9 <script> |
10 var db | 10 var db |
(...skipping 21 matching lines...) Expand all Loading... |
32 var store = db.transaction("store").objectStore("store") | 32 var store = db.transaction("store").objectStore("store") |
33 | 33 |
34 assert_equals(store.indexNames[0], "", "indexNames[0]") | 34 assert_equals(store.indexNames[0], "", "indexNames[0]") |
35 assert_equals(store.indexNames.length, 1, "indexNames.length") | 35 assert_equals(store.indexNames.length, 1, "indexNames.length") |
36 | 36 |
37 this.done() | 37 this.done() |
38 } | 38 } |
39 </script> | 39 </script> |
40 | 40 |
41 <div id=log></div> | 41 <div id=log></div> |
OLD | NEW |