| OLD | NEW |
| 1 if (this.importScripts) { | 1 if (this.importScripts) { |
| 2 importScripts('../../../resources/js-test.js'); | 2 importScripts('../../../resources/js-test.js'); |
| 3 importScripts('shared.js'); | 3 importScripts('shared.js'); |
| 4 } | 4 } |
| 5 | 5 |
| 6 description("Test IndexedDB's key generator behavior."); | 6 description("Test IndexedDB's key generator behavior."); |
| 7 | 7 |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 removeVendorPrefixes(); | |
| 11 | |
| 12 runTests(); | 10 runTests(); |
| 13 } | 11 } |
| 14 | 12 |
| 15 var tests = []; | 13 var tests = []; |
| 16 function defineTest(description, verchange, optional) { | 14 function defineTest(description, verchange, optional) { |
| 17 tests.push( | 15 tests.push( |
| 18 { | 16 { |
| 19 description: description, | 17 description: description, |
| 20 verchange: verchange, | 18 verchange: verchange, |
| 21 optional: optional | 19 optional: optional |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 shouldBe("request.result", "2"); | 262 shouldBe("request.result", "2"); |
| 265 }; | 263 }; |
| 266 trans.oncomplete = function() { | 264 trans.oncomplete = function() { |
| 267 debug(""); | 265 debug(""); |
| 268 finishJSTest(); | 266 finishJSTest(); |
| 269 }; | 267 }; |
| 270 }; | 268 }; |
| 271 } | 269 } |
| 272 | 270 |
| 273 test(); | 271 test(); |
| OLD | NEW |