6 // Open for write, write
10 Ci.nsICacheStorage.OPEN_TRUNCATE,
11 Services.loadContextInfo.default,
12 new OpenCallback(NEW | WAITFORWRITE, "a1m", "a1d", function () {
13 // Open for read and check
17 Ci.nsICacheStorage.OPEN_NORMALLY,
18 Services.loadContextInfo.default,
19 new OpenCallback(NORMAL, "a1m", "a1d", function () {
20 // Now clear the whole cache
21 Services.cache2.clear();
23 // The pinned entry should be intact
27 Ci.nsICacheStorage.OPEN_NORMALLY,
28 Services.loadContextInfo.default,
29 new OpenCallback(NORMAL, "a1m", "a1d", function () {