Home | History | Annotate | Download | only in appcache
      1 Test the behavior of DOMApplicationCache methods related to dynamic entries when the context is not associated with any cache.
      2 
      3 PASS: applicationCache.items.length is 0
      4 PASS: applicationCache.items.item(0) is null
      5 PASS: applicationCache.items.item(1) is null
      6 PASS: applicationCache.items.item(0xffffffff) is null
      7 PASS: applicationCache.items.item(0xfffffffe) is null
      8 PASS: applicationCache.items.item(-1) is null
      9 PASS: applicationCache.items.item(-2) is null
     10 PASS: applicationCache.items[0xfffffffe] is undefined
     11 PASS: applicationCache.items[0xffffffff] is undefined
     12 PASS: applicationCache.items['0'] is undefined
     13 PASS: applicationCache.items[''] is undefined
     14 PASS: applicationCache.items[0] is undefined
     15 PASS: applicationCache.items[1] is undefined
     16 PASS: applicationCache.items[-1] is undefined
     17 PASS: applicationCache.items[-2] is undefined
     18 PASS: applicationCache.items[100] is undefined
     19 PASS: applicationCache.items['100'] is undefined
     20 PASS: applicationCache.items['foo'] is undefined
     21 PASS: applicationCache.items[0.1] is undefined
     22 PASS: hasItem raised INVALID_STATE_ERR
     23 PASS: add raised INVALID_STATE_ERR
     24 PASS: remove raised INVALID_STATE_ERR
     25 PASS: applicationCache.items.length is 0
     26 DONE
     27 
     28