9 Ci.nsICacheStorage.OPEN_NORMALLY,
11 new OpenCallback(NEW, "x1m", "x1d", function (entry) {
12 // nothing to do here, we expect concurent callbacks to get
13 // all notified, then the test finishes
17 var mc = new MultipleCallbacks(3, finish_cache2_test);
24 Ci.nsICacheStorage.OPEN_NORMALLY,
27 NORMAL | COMPLETE | NOTIFYBEFOREREAD,
30 function (entry, beforeReading) {
33 Assert.equal(order, 3);
43 Ci.nsICacheStorage.OPEN_NORMALLY,
45 new OpenCallback(NORMAL | NOTIFYBEFOREREAD, "x1m", "x1d", function (
51 Assert.equal(order, 1);
60 Ci.nsICacheStorage.OPEN_NORMALLY,
62 new OpenCallback(NORMAL | NOTIFYBEFOREREAD, "x1m", "x1d", function (
68 Assert.equal(order, 2);