mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 913814: Fix test_304_responses.js to not be dependent on random GC forcement, r=michal
This commit is contained in:
parent
4272ec5e6d
commit
5f366dd306
@ -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