OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>IDBCursor direction - object store</title> | 2 <title>IDBCursor direction - object store</title> |
3 <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"> |
4 <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"> |
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'> | 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 position is defined, and source is an object store, t
he record's key is greater than position."> | 6 <link rel=assert title="If position is defined, and source is an object store, t
he 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'> | 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 position is defined, and source is an object store, t
he record's key is less than position."> | 8 <link rel=assert title="If position is defined, and source is an object store, t
he record's key is less than position."> |
9 <link rel=assert title="Set cursor's position to found record's key. If source i
s an index, set cursor's object store position to found record's value."> | 9 <link rel=assert title="Set cursor's position to found record's key. If source i
s an index, set cursor's object store position to found record's value."> |
10 <link rel=assert title="Set cursor's key to found record's key."> | 10 <link rel=assert title="Set cursor's key to found record's key."> |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 directions.forEach(function(dir) { | 71 directions.forEach(function(dir) { |
72 tests[dir].step(function() { assert_unreached(name); }); | 72 tests[dir].step(function() { assert_unreached(name); }); |
73 }); | 73 }); |
74 }; | 74 }; |
75 } | 75 } |
76 open_rq.onblocked = fail_helper('open_rq.onblocked'); | 76 open_rq.onblocked = fail_helper('open_rq.onblocked'); |
77 open_rq.onerror = fail_helper('open_rq.onerror'); | 77 open_rq.onerror = fail_helper('open_rq.onerror'); |
78 </script> | 78 </script> |
79 | 79 |
80 <div id=log> </div> | 80 <div id=log> </div> |
OLD | NEW |