1 Test the DOM Storage quota code. 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 Creating 'data' which contains 64K of data 10 PASS data.length is 65536 11 Putting 'data' into 39 sessionStorage buckets. 12 Putting 'data' into another bucket.h 13 PASS Insertion worked. 14 15 16 Testing localStorage 17 storage.clear() 18 PASS storage.length is 0 19 Creating 'data' which contains 64K of data 20 PASS data.length is 65536 21 Putting 'data' into 39 localStorage buckets. 22 Putting 'data' into another bucket.h 23 PASS Hit exception as expected 24 Verify that data was never inserted. 25 PASS storage.getItem(39) is null 26 Removing bucket 38. 27 Adding 'Hello!' into a new bucket. 28 PASS Insertion worked. 29 PASS successfullyParsed is true 30 31 TEST COMPLETE 32 33