mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 913814: Fix test_304_responses.js to not be dependent on random GC forcement, r=michal
This commit is contained in:
parent
201997223e
commit
37f8167fb8
@ -2,9 +2,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "CacheLog.h"
|
||||
#include "CacheEntry.h"
|
||||
#include "CacheStorageService.h"
|
||||
#include "CacheLog.h"
|
||||
|
||||
#include "nsIInputStream.h"
|
||||
#include "nsIOutputStream.h"
|
||||
|
@ -81,6 +81,7 @@ add_test(function test_304_stored_in_cache() {
|
||||
cacheEntry.setMetaDataElement("response-head",
|
||||
"HTTP/1.1 304 Not Modified\r\n" +
|
||||
"\r\n");
|
||||
cacheEntry.metaDataReady();
|
||||
cacheEntry.close();
|
||||
|
||||
var chan = make_channel(baseURI + existingCached304);
|
||||
|
Loading…
Reference in New Issue
Block a user