OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>IndexedDB: Test IDBObjectStore.getAllKeys.</title> | 2 <title>IndexedDB: Test IDBObjectStore.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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 assert_array_equals(evt.target.result, alphabet); | 158 assert_array_equals(evt.target.result, alphabet); |
159 t.done(); | 159 t.done(); |
160 }); | 160 }); |
161 }, 'zero maxCount'); | 161 }, 'zero maxCount'); |
162 | 162 |
163 // Explicit done needed in case async_test body fails synchronously. | 163 // Explicit done needed in case async_test body fails synchronously. |
164 done(); | 164 done(); |
165 }); | 165 }); |
166 | 166 |
167 </script> | 167 </script> |
OLD | NEW |