1Test basic dom storage .clear() functionality. 2 3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 6Testing sessionStorage 7storage.clear() 8PASS storage.length is 0 9storage['FOO'] = 'MyFOO' 10storage['BAR'] = 'MyBar' 11PASS storage.length is 2 12PASS storage['FOO'] is "MyFOO" 13PASS storage['BAR'] is "MyBar" 14storage.clear() 15PASS storage.length is 0 16PASS storage['FOO'] is undefined 17PASS storage['BAR'] is undefined 18 19 20Testing localStorage 21storage.clear() 22PASS storage.length is 0 23storage['FOO'] = 'MyFOO' 24storage['BAR'] = 'MyBar' 25PASS storage.length is 2 26PASS storage['FOO'] is "MyFOO" 27PASS storage['BAR'] is "MyBar" 28storage.clear() 29PASS storage.length is 0 30PASS storage['FOO'] is undefined 31PASS storage['BAR'] is undefined 32PASS successfullyParsed is true 33 34TEST COMPLETE 35 36