6 var storage = getCacheStorage("disk");
7 var entry = storage.openTruncate(createURI("http://new1/"), "");
10 // Fill the entry, and when done, check it's content
11 new OpenCallback(NEW, "meta", "data", function () {
15 Ci.nsICacheStorage.OPEN_NORMALLY,
17 new OpenCallback(NORMAL, "meta", "data", function () {
21 }).onCacheEntryAvailable(entry, true, 0);