mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1147392 - Workaround herness orange, recreate cache entry in test test_cache2-23-read-over-chunk.js every time. r=michal
This commit is contained in:
parent
d726d9fba8
commit
7b4707b17a
@ -19,7 +19,7 @@ function run_test()
|
||||
payload += String.fromCharCode(i + 65);
|
||||
}
|
||||
|
||||
asyncOpenCacheEntry("http://read/", "disk", Ci.nsICacheStorage.OPEN_NORMALLY, LoadContextInfo.default,
|
||||
asyncOpenCacheEntry("http://read/", "disk", Ci.nsICacheStorage.OPEN_TRUNCATE, LoadContextInfo.default,
|
||||
new OpenCallback(NEW|WAITFORWRITE, "", payload, function(entry) {
|
||||
var is = entry.openInputStream(0);
|
||||
pumpReadStream(is, function(read) {
|
||||
|
Loading…
Reference in New Issue
Block a user