OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset="utf-8"> | |
3 <title>IDBCursor direction - index with keyrange</title> | 2 <title>IDBCursor direction - index with keyrange</title> |
4 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> | 3 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> |
5 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#
cursor-iteration-operation"> | 4 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#
cursor-iteration-operation"> |
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'> | 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'> |
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."> | 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."> |
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'> | 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'> |
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."> | 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."> |
10 <link rel=assert title="If range is defined, the record's key is in range."> | 9 <link rel=assert title="If range is defined, the record's key is in range."> |
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."> | 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."> |
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."> | 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."> |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 directions.forEach(function(dir) { | 73 directions.forEach(function(dir) { |
75 tests[dir].step(function() { assert_unreached(name); }); | 74 tests[dir].step(function() { assert_unreached(name); }); |
76 }); | 75 }); |
77 }; | 76 }; |
78 } | 77 } |
79 open_rq.onblocked = fail_helper('open_rq.onblocked'); | 78 open_rq.onblocked = fail_helper('open_rq.onblocked'); |
80 open_rq.onerror = fail_helper('open_rq.onerror'); | 79 open_rq.onerror = fail_helper('open_rq.onerror'); |
81 </script> | 80 </script> |
82 | 81 |
83 <div id=log> </div> | 82 <div id=log> </div> |
OLD | NEW |