OLD | NEW |
1 if (this.importScripts) { | 1 if (this.importScripts) { |
2 importScripts('../../../fast/js/resources/js-test-pre.js'); | 2 importScripts('../../../resources/js-test.js'); |
3 importScripts('shared.js'); | 3 importScripts('shared.js'); |
4 } | 4 } |
5 | 5 |
6 description("Checks that garbage collection doesn't reclaim objects with pending
activity"); | 6 description("Checks that garbage collection doesn't reclaim objects with pending
activity"); |
7 | 7 |
8 indexedDBTest(prepareDatabase, testTransaction); | 8 indexedDBTest(prepareDatabase, testTransaction); |
9 function prepareDatabase(evt) | 9 function prepareDatabase(evt) |
10 { | 10 { |
11 preamble(evt); | 11 preamble(evt); |
12 db = event.target.result; | 12 db = event.target.result; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 evalAndLog("self.gc()"); | 66 evalAndLog("self.gc()"); |
67 } | 67 } |
68 | 68 |
69 function cursorRequestOnSecondSuccess() | 69 function cursorRequestOnSecondSuccess() |
70 { | 70 { |
71 testPassed("Request 'success' event fired."); | 71 testPassed("Request 'success' event fired."); |
72 | 72 |
73 debug(""); | 73 debug(""); |
74 finishJSTest(); | 74 finishJSTest(); |
75 } | 75 } |
OLD | NEW |