6 // Open for write, write but expect it to fail, since other callback will recreate (and doom)
7 // the first entry before it opens output stream (note: in case of problems the DOOMED flag
8 // can be removed, it is not the test failure when opening the output stream on recreated entry.
12 Ci
.nsICacheStorage
.OPEN_NORMALLY
,
14 new OpenCallback(NEW
| DOOMED
, "v1m", "v1d", function () {
15 // Open for rewrite (don't validate), write different meta and data
19 Ci
.nsICacheStorage
.OPEN_NORMALLY
,
21 new OpenCallback(NOTVALID
| RECREATE
, "v2m", "v2d", function () {
26 Ci
.nsICacheStorage
.OPEN_NORMALLY
,
28 new OpenCallback(NORMAL
, "v2m", "v2d", function () {