6 // Open for write, delay the actual write
10 Ci.nsICacheStorage.OPEN_NORMALLY,
12 new OpenCallback(NEW | DONTFILL, "a1m", "a1d", function (entry) {
19 Ci.nsICacheStorage.OPEN_BYPASS_IF_BUSY,
21 new OpenCallback(NOTFOUND, "", "", function (entry) {
27 // do_execute_soon for two reasons:
28 // 1. we want finish_cache2_test call for sure after do_test_pending, but all the callbacks here
29 // may invoke synchronously
30 // 2. precaution when the OPEN_BYPASS_IF_BUSY invocation become a post one day
31 executeSoon(function () {