OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../fast/js/resources/js-test-pre.js"></script> | 2 <script src="../../resources/js-test.js"></script> |
3 <script src="resources/shared.js"></script> | 3 <script src="resources/shared.js"></script> |
4 <script> | 4 <script> |
5 | 5 |
6 description("Verify that that cursors weakly hold request, and work if request i
s GC'd"); | 6 description("Verify that that cursors weakly hold request, and work if request i
s GC'd"); |
7 | 7 |
8 indexedDBTest(prepareDatabase, onOpen); | 8 indexedDBTest(prepareDatabase, onOpen); |
9 | 9 |
10 function prepareDatabase(evt) | 10 function prepareDatabase(evt) |
11 { | 11 { |
12 preamble(evt); | 12 preamble(evt); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 shouldBeEqualToString("cursor.key", "key2"); | 52 shouldBeEqualToString("cursor.key", "key2"); |
53 shouldBeEqualToString("cursor.value", "value2"); | 53 shouldBeEqualToString("cursor.value", "value2"); |
54 }; | 54 }; |
55 }; | 55 }; |
56 | 56 |
57 tx.oncomplete = finishJSTest; | 57 tx.oncomplete = finishJSTest; |
58 } | 58 } |
59 | 59 |
60 | 60 |
61 </script> | 61 </script> |
OLD | NEW |