6 // Create and check an entry anon disk storage
10 Ci
.nsICacheStorage
.OPEN_NORMALLY
,
11 Services
.loadContextInfo
.anonymous
,
12 new OpenCallback(NEW
, "an1", "an1", function () {
16 Ci
.nsICacheStorage
.OPEN_NORMALLY
,
17 Services
.loadContextInfo
.anonymous
,
18 new OpenCallback(NORMAL
, "an1", "an1", function () {
19 // Create and check an entry non-anon disk storage
23 Ci
.nsICacheStorage
.OPEN_NORMALLY
,
24 Services
.loadContextInfo
.default,
25 new OpenCallback(NEW
, "na1", "na1", function () {
29 Ci
.nsICacheStorage
.OPEN_NORMALLY
,
30 Services
.loadContextInfo
.default,
31 new OpenCallback(NORMAL
, "na1", "na1", function () {
32 // check the anon entry is still there and intact
36 Ci
.nsICacheStorage
.OPEN_NORMALLY
,
37 Services
.loadContextInfo
.anonymous
,
38 new OpenCallback(NORMAL
, "an1", "an1", function () {