| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
| 3 <title>IDBIndex.getKey() - returns the record's primary key</title> | 3 <title>IDBIndex.getKey() - returns the record's primary key</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 14 matching lines...) Expand all Loading... |
| 25 .objectStore("test"); | 25 .objectStore("test"); |
| 26 | 26 |
| 27 assert_equals(objStore.indexNames[0], "index", "indexNames (second)"); | 27 assert_equals(objStore.indexNames[0], "index", "indexNames (second)"); |
| 28 assert_equals(objStore.indexNames.length, 1, "indexNames.length (second)
"); | 28 assert_equals(objStore.indexNames.length, 1, "indexNames.length (second)
"); |
| 29 | 29 |
| 30 t.done(); | 30 t.done(); |
| 31 }; | 31 }; |
| 32 </script> | 32 </script> |
| 33 | 33 |
| 34 <div id="log"></div> | 34 <div id="log"></div> |
| OLD | NEW |