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