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 where the index cont
ains duplicate values </title> | 3 <title>IDBIndex.getKey() - returns the record's primary key where the index cont
ains duplicate values </title> |
4 <link rel="author" title="Microsoft" href="http://www.microsoft.com"> | 4 <link rel="author" title="Microsoft" href="http://www.microsoft.com"> |
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 19 matching lines...) Expand all Loading... |
30 .getKey("data"); | 30 .getKey("data"); |
31 | 31 |
32 rq.onsuccess = t.step_func(function(e) { | 32 rq.onsuccess = t.step_func(function(e) { |
33 assert_equals(e.target.result, records[0].key); | 33 assert_equals(e.target.result, records[0].key); |
34 t.done(); | 34 t.done(); |
35 }); | 35 }); |
36 }; | 36 }; |
37 </script> | 37 </script> |
38 | 38 |
39 <div id="log"></div> | 39 <div id="log"></div> |
OLD | NEW |