OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>IndexedDB: Test IDBObjectStore.getAll.</title> | 2 <title>IndexedDB: Test IDBObjectStore.getAll.</title> |
3 <script src="../../../resources/testharness.js"></script> | 3 <script src="../../../resources/testharness.js"></script> |
4 <script src="../../../resources/testharnessreport.js"></script> | 4 <script src="../../../resources/testharnessreport.js"></script> |
5 <script> | 5 <script> |
6 setup({explicit_done: true}); | 6 setup({explicit_done: true}); |
7 | 7 |
8 var alphabet = 'abcdefghijklmnopqrstuvwxyz'.split(''); | 8 var alphabet = 'abcdefghijklmnopqrstuvwxyz'.split(''); |
9 | 9 |
10 function doSetup(dbName, dbVersion, onsuccess) { | 10 function doSetup(dbName, dbVersion, onsuccess) { |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 alphabet.map(function(c) { return 'value-' + c; })); | 165 alphabet.map(function(c) { return 'value-' + c; })); |
166 t.done(); | 166 t.done(); |
167 }); | 167 }); |
168 }, 'zero maxCount'); | 168 }, 'zero maxCount'); |
169 | 169 |
170 // Explicit done needed in case async_test body fails synchronously. | 170 // Explicit done needed in case async_test body fails synchronously. |
171 done(); | 171 done(); |
172 }); | 172 }); |
173 | 173 |
174 </script> | 174 </script> |
OLD | NEW |