blob: c3aa01137c1f45b8b82f18119f4ba686e2f853c7 [file] [log] [blame]
Ensures that we get exceptions when we do not include required arguments for localStorage methods.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS localStorage.key() threw exception TypeError: Not enough arguments.
PASS localStorage.getItem() threw exception TypeError: Not enough arguments.
PASS localStorage.setItem() threw exception TypeError: Not enough arguments.
PASS localStorage.setItem("a") threw exception TypeError: Not enough arguments.
PASS localStorage.removeItem() threw exception TypeError: Not enough arguments.
PASS successfullyParsed is true
TEST COMPLETE