Bug 919087 - Intermittent TEST-UNEXPECTED-FAIL | test_cache2-22-anon-visit.js, r=michal

This commit is contained in:
Honza Bambas 2013-09-25 16:42:17 +02:00
parent 3a9e654a21
commit 93b44de1c2
3 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ function run_test()
);
})
);
});
}, !newCacheBackEndUsed());
asyncOpenCacheEntry("http://mem1/", "memory", Ci.nsICacheStorage.OPEN_NORMALLY, null,
new OpenCallback(NEW, "m2m", "m2d", function(entry) {

View File

@ -25,7 +25,7 @@ function run_test()
);
})
);
});
}, !newCacheBackEndUsed());
asyncOpenCacheEntry("http://mem1/", "memory", Ci.nsICacheStorage.OPEN_NORMALLY, null,
new OpenCallback(NEW, "m2m", "m2d", function(entry) {

View File

@ -40,7 +40,7 @@ function run_test()
});
}
var mc = new MultipleCallbacks(2, newCacheBackEndUsed() ? checkNewBackEnd : checkOldBackEnd);
var mc = new MultipleCallbacks(2, newCacheBackEndUsed() ? checkNewBackEnd : checkOldBackEnd, !newCacheBackEndUsed());
asyncOpenCacheEntry("http://an2/", "disk", Ci.nsICacheStorage.OPEN_NORMALLY, LoadContextInfo.default,
new OpenCallback(NEW|WAITFORWRITE, "an2", "an2", function(entry) {