• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Test that changing documentURI has no effects on the url passed into storage events.
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
9Reset storage event list
10storageEventList = new Array()
11storage.foo = '123'
12PASS storageEventList.length is 1
13Saving url
14document.documentURI = 'abc'
15PASS document.documentURI is "abc"
16storage.foo = 'xyz'
17PASS storageEventList.length is 2
18PASS true is true
19
20
21Testing localStorage
22storage.clear()
23PASS storage.length is 0
24Reset storage event list
25storageEventList = new Array()
26storage.foo = '123'
27PASS storageEventList.length is 1
28Saving url
29document.documentURI = 'abc'
30PASS document.documentURI is "abc"
31storage.foo = 'xyz'
32PASS storageEventList.length is 2
33PASS true is true
34
35
36PASS successfullyParsed is true
37
38TEST COMPLETE
39
40
41