| OLD | NEW |
| 1 Ensures that we get exceptions when we do not include required arguments for loc
alStorage methods. | 1 Ensures that we get exceptions when we do not include required arguments for loc
alStorage methods. |
| 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 PASS localStorage.key() threw exception TypeError: Not enough arguments. | 6 PASS localStorage.key() threw exception TypeError: Failed to execute 'key' on 'S
torage': 1 argument required, but only 0 present.. |
| 7 PASS localStorage.getItem() threw exception TypeError: Not enough arguments. | 7 PASS localStorage.getItem() threw exception TypeError: Failed to execute 'getIte
m' on 'Storage': 1 argument required, but only 0 present.. |
| 8 PASS localStorage.setItem() threw exception TypeError: Not enough arguments. | 8 PASS localStorage.setItem() threw exception TypeError: Failed to execute 'setIte
m' on 'Storage': 2 arguments required, but only 0 present.. |
| 9 PASS localStorage.setItem("a") threw exception TypeError: Not enough arguments. | 9 FAIL localStorage.setItem("a") should throw TypeError: Failed to execute 'setIte
m' on 'Storage': 2 arguments required, but only 0 present.. Threw exception Type
Error: Failed to execute 'setItem' on 'Storage': 2 arguments required, but only
1 present.. |
| 10 PASS localStorage.removeItem() threw exception TypeError: Not enough arguments. | 10 PASS localStorage.removeItem() threw exception TypeError: Failed to execute 'rem
oveItem' on 'Storage': 1 argument required, but only 0 present.. |
| 11 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
| 12 | 12 |
| 13 TEST COMPLETE | 13 TEST COMPLETE |
| 14 | 14 |
| OLD | NEW |