| OLD | NEW |
| 1 Test that bad version parameters cause TypeError | 1 Test that bad version parameters cause TypeError |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; | 6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.
msIndexedDB || self.OIndexedDB; |
| 7 | 7 |
| 8 dbname = "intversion-bad-parameters.html" | 8 dbname = "intversion-bad-parameters.html" |
| 9 indexedDB.deleteDatabase(dbname) | 9 indexedDB.deleteDatabase(dbname) |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 PASS indexedDB.open(dbname, NaN) threw TypeError: Failed to execute 'open' on 'I
DBFactory': Value is not of type 'unsigned long long'. | 29 PASS indexedDB.open(dbname, NaN) threw TypeError: Failed to execute 'open' on 'I
DBFactory': Value is not of type 'unsigned long long'. |
| 30 Expecting TypeError exception from indexedDB.open(dbname, -1) | 30 Expecting TypeError exception from indexedDB.open(dbname, -1) |
| 31 PASS Exception was thrown. | 31 PASS Exception was thrown. |
| 32 PASS indexedDB.open(dbname, -1) threw TypeError: Failed to execute 'open' on 'ID
BFactory': Value is outside the 'unsigned long long' value range. | 32 PASS indexedDB.open(dbname, -1) threw TypeError: Failed to execute 'open' on 'ID
BFactory': Value is outside the 'unsigned long long' value range. |
| 33 Expecting TypeError exception from indexedDB.open(dbname, 0x20000000000000) | 33 Expecting TypeError exception from indexedDB.open(dbname, 0x20000000000000) |
| 34 PASS Exception was thrown. | 34 PASS Exception was thrown. |
| 35 PASS indexedDB.open(dbname, 0x20000000000000) threw TypeError: Failed to execute
'open' on 'IDBFactory': Value is outside the 'unsigned long long' value range. | 35 PASS indexedDB.open(dbname, 0x20000000000000) threw TypeError: Failed to execute
'open' on 'IDBFactory': Value is outside the 'unsigned long long' value range. |
| 36 Expecting TypeError exception from indexedDB.open(dbname, null) | 36 Expecting TypeError exception from indexedDB.open(dbname, null) |
| 37 PASS Exception was thrown. | 37 PASS Exception was thrown. |
| 38 PASS indexedDB.open(dbname, null) threw TypeError: Failed to execute 'open' on '
IDBFactory': The version provided must not be 0. | 38 PASS indexedDB.open(dbname, null) threw TypeError: Failed to execute 'open' on '
IDBFactory': The version provided must not be 0. |
| 39 Expecting TypeError exception from indexedDB.open(dbname, undefined) | |
| 40 PASS Exception was thrown. | |
| 41 PASS indexedDB.open(dbname, undefined) threw TypeError: Failed to execute 'open'
on 'IDBFactory': Value is not of type 'unsigned long long'. | |
| 42 PASS successfullyParsed is true | 39 PASS successfullyParsed is true |
| 43 | 40 |
| 44 TEST COMPLETE | 41 TEST COMPLETE |
| 45 | 42 |
| OLD | NEW |