Wed, 31 Dec 2014 06:55:46 +0100
Added tag TORBROWSER_REPLICA for changeset 6474c204b198
1 function run_test()
2 {
3 do_get_profile();
5 if (!newCacheBackEndUsed()) {
6 do_check_true(true, "This test doesn't run when the old cache back end is used since the behavior is different");
7 return;
8 }
10 asyncOpenCacheEntry("http://b/", "disk", Ci.nsICacheStorage.OPEN_NORMALLY, null,
11 new OpenCallback(NEW|DOOMED, "b1m", "b1d", function(entry) {
12 entry.asyncDoom(
13 new EvictionCallback(true, function() {
14 finish_cache2_test();
15 })
16 );
17 })
18 );
20 do_test_pending();
21 }