| 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 dbname = "intversion-bad-parameters.html" | 6 dbname = "intversion-bad-parameters.html" |
| 7 indexedDB.deleteDatabase(dbname) | 7 indexedDB.deleteDatabase(dbname) |
| 8 | 8 |
| 9 deleteSuccess(): | 9 deleteSuccess(): |
| 10 Expecting TypeError exception from indexedDB.open(dbname, 'stringversion') | 10 Expecting TypeError exception from indexedDB.open(dbname, 'stringversion') |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 PASS indexedDB.open(dbname, NaN) threw TypeError: Failed to execute 'open' on 'I
DBFactory': Value is not of type 'unsigned long long'. | 27 PASS indexedDB.open(dbname, NaN) threw TypeError: Failed to execute 'open' on 'I
DBFactory': Value is not of type 'unsigned long long'. |
| 28 Expecting TypeError exception from indexedDB.open(dbname, -1) | 28 Expecting TypeError exception from indexedDB.open(dbname, -1) |
| 29 PASS Exception was thrown. | 29 PASS Exception was thrown. |
| 30 PASS indexedDB.open(dbname, -1) threw TypeError: Failed to execute 'open' on 'ID
BFactory': Value is outside the 'unsigned long long' value range. | 30 PASS indexedDB.open(dbname, -1) threw TypeError: Failed to execute 'open' on 'ID
BFactory': Value is outside the 'unsigned long long' value range. |
| 31 Expecting TypeError exception from indexedDB.open(dbname, 0x20000000000000) | 31 Expecting TypeError exception from indexedDB.open(dbname, 0x20000000000000) |
| 32 PASS Exception was thrown. | 32 PASS Exception was thrown. |
| 33 PASS indexedDB.open(dbname, 0x20000000000000) threw TypeError: Failed to execute
'open' on 'IDBFactory': Value is outside the 'unsigned long long' value range. | 33 PASS indexedDB.open(dbname, 0x20000000000000) threw TypeError: Failed to execute
'open' on 'IDBFactory': Value is outside the 'unsigned long long' value range. |
| 34 Expecting TypeError exception from indexedDB.open(dbname, null) | 34 Expecting TypeError exception from indexedDB.open(dbname, null) |
| 35 PASS Exception was thrown. | 35 PASS Exception was thrown. |
| 36 PASS indexedDB.open(dbname, null) threw TypeError: Failed to execute 'open' on '
IDBFactory': The version provided must not be 0. | 36 PASS indexedDB.open(dbname, null) threw TypeError: Failed to execute 'open' on '
IDBFactory': The version provided must not be 0. |
| 37 Expecting TypeError exception from indexedDB.open(dbname, undefined) | 37 indexedDB.open(dbname, undefined) |
| 38 PASS Exception was thrown. | |
| 39 PASS indexedDB.open(dbname, undefined) threw TypeError: Failed to execute 'open'
on 'IDBFactory': Value is not of type 'unsigned long long'. | |
| 40 PASS successfullyParsed is true | 38 PASS successfullyParsed is true |
| 41 | 39 |
| 42 TEST COMPLETE | 40 TEST COMPLETE |
| 43 | 41 |
| OLD | NEW |