OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> |
2 <title>IDBCursor direction - index with keyrange</title> | 3 <title>IDBCursor direction - index with keyrange</title> |
3 <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"> |
4 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#
cursor-iteration-operation"> | 5 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#
cursor-iteration-operation"> |
5 <link rel=assert title='If direction is "next", let found record be the first re
cord in records which satisfy all of the following requirements'> | 6 <link rel=assert title='If direction is "next", let found record be the first re
cord in records which satisfy all of the following requirements'> |
6 <link rel=assert title="If position is defined, and source is an index, the reco
rd's key is equal to position and the record's value is greater than object stor
e position or the record's key is greater than position."> | 7 <link rel=assert title="If position is defined, and source is an index, the reco
rd's key is equal to position and the record's value is greater than object stor
e position or the record's key is greater than position."> |
7 <link rel=assert title='If direction is "prev", let found record be the last rec
ord in records which satisfy all of the following requirements'> | 8 <link rel=assert title='If direction is "prev", let found record be the last rec
ord in records which satisfy all of the following requirements'> |
8 <link rel=assert title="If position is defined, and source is an index, the reco
rd's key is equal to position and the record's value is less than object store p
osition or the record's key is less than position."> | 9 <link rel=assert title="If position is defined, and source is an index, the reco
rd's key is equal to position and the record's value is less than object store p
osition or the record's key is less than position."> |
9 <link rel=assert title="If range is defined, the record's key is in range."> | 10 <link rel=assert title="If range is defined, the record's key is in range."> |
10 <link rel=assert title="If temp record is defined, let found record be the first
record in records whose key is equal to temp record's key."> | 11 <link rel=assert title="If temp record is defined, let found record be the first
record in records whose key is equal to temp record's key."> |
11 <link rel=assert title="records is always sorted in ascending key order. In the
case of source being an index, records is secondarily sorted in ascending value
order."> | 12 <link rel=assert title="records is always sorted in ascending key order. In the
case of source being an index, records is secondarily sorted in ascending value
order."> |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 directions.forEach(function(dir) { | 74 directions.forEach(function(dir) { |
74 tests[dir].step(function() { assert_unreached(name); }); | 75 tests[dir].step(function() { assert_unreached(name); }); |
75 }); | 76 }); |
76 }; | 77 }; |
77 } | 78 } |
78 open_rq.onblocked = fail_helper('open_rq.onblocked'); | 79 open_rq.onblocked = fail_helper('open_rq.onblocked'); |
79 open_rq.onerror = fail_helper('open_rq.onerror'); | 80 open_rq.onerror = fail_helper('open_rq.onerror'); |
80 </script> | 81 </script> |
81 | 82 |
82 <div id=log> </div> | 83 <div id=log> </div> |
OLD | NEW |