michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/publicdomain/zero/1.0/ michael@0: */ michael@0: michael@0: function continue_test(status, entry) { michael@0: do_check_eq(status, Components.results.NS_OK); michael@0: // TODO - mayhemer: remove this tests completely michael@0: // entry.deviceID; michael@0: // if the above line does not crash, the test was successful michael@0: do_test_finished(); michael@0: } michael@0: michael@0: function run_test() { michael@0: asyncOpenCacheEntry("http://some.key/", michael@0: "disk", Ci.nsICacheStorage.OPEN_NORMALLY, null, michael@0: continue_test); michael@0: do_test_pending(); michael@0: }