6 // Open for write, write
10 Ci.nsICacheStorage.OPEN_NORMALLY,
12 new OpenCallback(NEW | METAONLY, "a1m", "a1d", function (entry) {
13 // Open for read and check
17 Ci.nsICacheStorage.OPEN_NORMALLY,
19 new OpenCallback(NORMAL, "a1m", "", function (entry) {
20 // Open for rewrite (truncate), write different meta and data
24 Ci.nsICacheStorage.OPEN_TRUNCATE,
26 new OpenCallback(NEW, "a2m", "a2d", function (entry) {
27 // Open for read and check
31 Ci.nsICacheStorage.OPEN_NORMALLY,
33 new OpenCallback(NORMAL, "a2m", "a2d", function (entry) {