| 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 keyrange required arguments"); | 6 description("Test IndexedDB keyrange required arguments"); |
| 7 | 7 |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 removeVendorPrefixes(); | 10 removeVendorPrefixes(); |
| 11 | 11 |
| 12 shouldThrow("IDBKeyRange.only();"); | 12 shouldThrow("IDBKeyRange.only();"); |
| 13 shouldThrow("IDBKeyRange.lowerBound();"); | 13 shouldThrow("IDBKeyRange.lowerBound();"); |
| 14 shouldThrow("IDBKeyRange.upperBound();"); | 14 shouldThrow("IDBKeyRange.upperBound();"); |
| 15 shouldThrow("IDBKeyRange.bound(1);"); | 15 shouldThrow("IDBKeyRange.bound(1);"); |
| 16 shouldThrow("IDBKeyRange.bound();"); | 16 shouldThrow("IDBKeyRange.bound();"); |
| 17 | 17 |
| 18 finishJSTest(); | 18 finishJSTest(); |
| 19 } | 19 } |
| 20 | 20 |
| 21 test(); | 21 test(); |
| OLD | NEW |