OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>IndexedDB: Test IDBIndex.getAllKeys.</title> | 2 <title>IndexedDB: Test IDBIndex.getAllKeys.</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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 t.done(); | 198 t.done(); |
199 }); | 199 }); |
200 req.onerror = t.unreached_func('getAllKeys request should succeed'); | 200 req.onerror = t.unreached_func('getAllKeys request should succeed'); |
201 }, 'Retrieve multiEntry keys'); | 201 }, 'Retrieve multiEntry keys'); |
202 | 202 |
203 // Explicit done needed in case async_test body fails synchronously. | 203 // Explicit done needed in case async_test body fails synchronously. |
204 done(); | 204 done(); |
205 }); | 205 }); |
206 | 206 |
207 </script> | 207 </script> |
OLD | NEW |