OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>IDBCursor direction - object store with keyrange</title> | 2 <title>IDBCursor direction - object store with keyrange</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 direction is "prev", let found record be the last rec
ord in records which satisfy all of the following requirements'> | 6 <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 range is defined, the record's key is in range."> | 7 <link rel=assert title="If range is defined, the record's key is in range."> |
8 <script src="../../../resources/testharness.js"></script> | 8 <script src="../../../resources/testharness.js"></script> |
9 <script src="../../../resources/testharnessreport.js"></script> | 9 <script src="../../../resources/testharnessreport.js"></script> |
10 <script src="support.js"></script> | 10 <script src="support.js"></script> |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 directions.forEach(function(dir) { | 68 directions.forEach(function(dir) { |
69 tests[dir].step(function() { assert_unreached(name); }); | 69 tests[dir].step(function() { assert_unreached(name); }); |
70 }); | 70 }); |
71 }; | 71 }; |
72 } | 72 } |
73 open_rq.onblocked = fail_helper('open_rq.onblocked'); | 73 open_rq.onblocked = fail_helper('open_rq.onblocked'); |
74 open_rq.onerror = fail_helper('open_rq.onerror'); | 74 open_rq.onerror = fail_helper('open_rq.onerror'); |
75 </script> | 75 </script> |
76 | 76 |
77 <div id=log> </div> | 77 <div id=log> </div> |
OLD | NEW |