Home | History | Annotate | Download | only in events
      1 Verify that storage events fire even when only the case of the value changes.
      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 
     10 Verify storage events are case sensitive
     11 storage.foo = 'test'
     12 Reset storage event list
     13 storageEventList = new Array()
     14 storage.foo = 'test'
     15 PASS storageEventList.length is 0
     16 storage.foo = 'TEST'
     17 PASS storageEventList.length is 1
     18 
     19 
     20 Testing localStorage
     21 storage.clear()
     22 PASS storage.length is 0
     23 
     24 Verify storage events are case sensitive
     25 storage.foo = 'test'
     26 Reset storage event list
     27 storageEventList = new Array()
     28 storage.foo = 'test'
     29 PASS storageEventList.length is 0
     30 storage.foo = 'TEST'
     31 PASS storageEventList.length is 1
     32 
     33 
     34 PASS successfullyParsed is true
     35 
     36 TEST COMPLETE
     37 
     38 
     39