6 // Open for write, write
10 Ci.nsICacheStorage.OPEN_NORMALLY,
12 new OpenCallback(NEW, "206m", "206part1-", function () {
13 // Open normally but wait for validation from the server
17 Ci.nsICacheStorage.OPEN_NORMALLY,
19 new OpenCallback(PARTIAL, "206m", "206part1-", function (entry) {
20 // emulate 206 from the server, i.e. resume transaction and write content to the output stream
22 NEW | WAITFORWRITE | PARTIAL,
28 ).onCacheEntryAvailable(entry, true, Cr.NS_OK);
32 var mc = new MultipleCallbacks(3, finish_cache2_test);
37 Ci.nsICacheStorage.OPEN_NORMALLY,
39 new OpenCallback(NORMAL, "206m", "206part1--part2", function (entry) {
46 Ci.nsICacheStorage.OPEN_NORMALLY,
48 new OpenCallback(NORMAL, "206m", "206part1--part2", function (entry) {
55 Ci.nsICacheStorage.OPEN_NORMALLY,
57 new OpenCallback(NORMAL, "206m", "206part1--part2", function (entry) {