1 Test that changing documentURI has no effects on the url passed into storage events. 2 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 6 Testing sessionStorage 7 storage.clear() 8 PASS storage.length is 0 9 Reset storage event list 10 storageEventList = new Array() 11 storage.foo = '123' 12 PASS storageEventList.length is 1 13 Saving url 14 document.documentURI = 'abc' 15 PASS document.documentURI is "abc" 16 storage.foo = 'xyz' 17 PASS storageEventList.length is 2 18 PASS true is true 19 20 21 Testing localStorage 22 storage.clear() 23 PASS storage.length is 0 24 Reset storage event list 25 storageEventList = new Array() 26 storage.foo = '123' 27 PASS storageEventList.length is 1 28 Saving url 29 document.documentURI = 'abc' 30 PASS document.documentURI is "abc" 31 storage.foo = 'xyz' 32 PASS storageEventList.length is 2 33 PASS true is true 34 35 36 PASS successfullyParsed is true 37 38 TEST COMPLETE 39 40 41