| 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("Test IndexedDB ordering of pending open calls."); | 6 description("Test IndexedDB ordering of pending open calls."); |
| 7 | 7 |
| 8 indexedDBTest(prepareDatabase, runTest, {version: 2}); | 8 indexedDBTest(prepareDatabase, runTest, {version: 2}); |
| 9 | 9 |
| 10 function prepareDatabase() | 10 function prepareDatabase() |
| 11 { | 11 { |
| 12 } | 12 } |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 if (order.length === 3) | 65 if (order.length === 3) |
| 66 checkOrder(); | 66 checkOrder(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 function checkOrder() | 69 function checkOrder() |
| 70 { | 70 { |
| 71 preamble(); | 71 preamble(); |
| 72 shouldBeEqualToString("JSON.stringify(order)", "[1,2,3]"); | 72 shouldBeEqualToString("JSON.stringify(order)", "[1,2,3]"); |
| 73 finishJSTest(); | 73 finishJSTest(); |
| 74 } | 74 } |
| OLD | NEW |