1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netwerk/test/unit/test_bug540566.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +/* Any copyright is dedicated to the Public Domain. 1.5 + * http://creativecommons.org/publicdomain/zero/1.0/ 1.6 + */ 1.7 + 1.8 +function continue_test(status, entry) { 1.9 + do_check_eq(status, Components.results.NS_OK); 1.10 + // TODO - mayhemer: remove this tests completely 1.11 + // entry.deviceID; 1.12 + // if the above line does not crash, the test was successful 1.13 + do_test_finished(); 1.14 +} 1.15 + 1.16 +function run_test() { 1.17 + asyncOpenCacheEntry("http://some.key/", 1.18 + "disk", Ci.nsICacheStorage.OPEN_NORMALLY, null, 1.19 + continue_test); 1.20 + do_test_pending(); 1.21 +}