6 var mc = new MultipleCallbacks(2, function () {
13 Ci.nsICacheStorage.OPEN_NORMALLY,
14 Services.loadContextInfo.default,
15 new OpenCallback(NEW, "meta", "data", function (entry) {
17 equal(entry.isForcedValid, false);
19 // Forced valid and confirm
20 entry.forceValidFor(2);
21 do_timeout(1000, function () {
22 equal(entry.isForcedValid, true);
26 // Confirm the timeout occurs
27 do_timeout(3000, function () {
28 equal(entry.isForcedValid, false);