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