OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>IDBObjectStore.get() - returns the record with the first key in the range
</title> | 2 <title>IDBObjectStore.get() - returns the record with the first key in the range
</title> |
3 <link rel="author" title="Microsoft" href="http://www.microsoft.com"> | 3 <link rel="author" title="Microsoft" href="http://www.microsoft.com"> |
4 <script src=../../../resources/testharness.js></script> | 4 <script src=../../../resources/testharness.js></script> |
5 <script src=../../../resources/testharnessreport.js></script> | 5 <script src=../../../resources/testharnessreport.js></script> |
6 <script src=support.js></script> | 6 <script src=support.js></script> |
7 <script> | 7 <script> |
8 var db | 8 var db |
9 var open_rq = createdb(async_test()) | 9 var open_rq = createdb(async_test()) |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 .get( IDBKeyRange.bound(3, 6) ) | 22 .get( IDBKeyRange.bound(3, 6) ) |
23 .onsuccess = this.step_func(function(e) | 23 .onsuccess = this.step_func(function(e) |
24 { | 24 { |
25 assert_equals(e.target.result, "data3", "get(3-6)"); | 25 assert_equals(e.target.result, "data3", "get(3-6)"); |
26 this.done(); | 26 this.done(); |
27 }) | 27 }) |
28 } | 28 } |
29 </script> | 29 </script> |
30 | 30 |
31 <div id=log></div> | 31 <div id=log></div> |
OLD | NEW |