Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
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 }