1 Test .removeItem within DOM Storage.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
8 PASS storage.length is 0
10 PASS storage.foo1 is undefined.
12 PASS storage.foo1 is "bar"
13 storage.removeItem('foo1')
14 PASS storage.foo1 is undefined.
15 storage.removeItem('foo1')
16 PASS storage.foo1 is undefined.
18 PASS storage['foo2'] is undefined.
19 storage['foo2'] = 'bar'
20 PASS storage['foo2'] is "bar"
21 storage.removeItem('foo2')
22 PASS storage['foo2'] is undefined.
23 storage.removeItem('foo2')
24 PASS storage['foo2'] is undefined.
26 PASS storage.getItem('foo3') is null
27 storage.setItem('foo3', 'bar')
28 PASS storage.getItem('foo3') is "bar"
29 storage.removeItem('foo3')
30 PASS storage.getItem('foo3') is null
31 storage.removeItem('foo3')
32 PASS storage.getItem('foo3') is null
37 PASS storage.length is 0
39 PASS storage.foo1 is undefined.
41 PASS storage.foo1 is "bar"
42 storage.removeItem('foo1')
43 PASS storage.foo1 is undefined.
44 storage.removeItem('foo1')
45 PASS storage.foo1 is undefined.
47 PASS storage['foo2'] is undefined.
48 storage['foo2'] = 'bar'
49 PASS storage['foo2'] is "bar"
50 storage.removeItem('foo2')
51 PASS storage['foo2'] is undefined.
52 storage.removeItem('foo2')
53 PASS storage['foo2'] is undefined.
55 PASS storage.getItem('foo3') is null
56 storage.setItem('foo3', 'bar')
57 PASS storage.getItem('foo3') is "bar"
58 storage.removeItem('foo3')
59 PASS storage.getItem('foo3') is null
60 storage.removeItem('foo3')
61 PASS storage.getItem('foo3') is null
62 PASS successfullyParsed is true
65 PASS successfullyParsed is true