netwerk/test/unit/test_cache2-13-evict-non-existing.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netwerk/test/unit/test_cache2-13-evict-non-existing.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +function run_test()
     1.5 +{
     1.6 +  do_get_profile();
     1.7 +
     1.8 +  var storage = getCacheStorage("disk");
     1.9 +  storage.asyncDoomURI(createURI("http://non-existing/"), "",
    1.10 +    new EvictionCallback(false, function() {
    1.11 +      finish_cache2_test();
    1.12 +    })
    1.13 +  );
    1.14 +
    1.15 +  do_test_pending();
    1.16 +}

mercurial