Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 }