OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
3 <title>IDBIndex.get() - returns the record with the first key in the range </tit
le> | 3 <title>IDBIndex.get() - returns the record with the first key in the range </tit
le> |
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, t = async_test(); | 10 var db, t = async_test(); |
(...skipping 19 matching lines...) Expand all Loading... |
30 rq.onsuccess = t.step_func(function(e) { | 30 rq.onsuccess = t.step_func(function(e) { |
31 assert_equals(e.target.result.key, 4); | 31 assert_equals(e.target.result.key, 4); |
32 assert_equals(e.target.result.indexedProperty, 'data4'); | 32 assert_equals(e.target.result.indexedProperty, 'data4'); |
33 | 33 |
34 setTimeout(function() { t.done(); }, 4) | 34 setTimeout(function() { t.done(); }, 4) |
35 }); | 35 }); |
36 } | 36 } |
37 </script> | 37 </script> |
38 | 38 |
39 <div id=log></div> | 39 <div id=log></div> |
OLD | NEW |