From 80893bcf5236c5f0097ddd3aeda59b900b7edf80 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 7 Apr 2016 15:33:27 +0200 Subject: [PATCH] mshtml: Skip headers problematic for cache. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/mshtml/tests/xmlhttprequest.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dlls/mshtml/tests/xmlhttprequest.c b/dlls/mshtml/tests/xmlhttprequest.c index 7e75b790f69..e1c2ef1c483 100644 --- a/dlls/mshtml/tests/xmlhttprequest.c +++ b/dlls/mshtml/tests/xmlhttprequest.c @@ -386,7 +386,6 @@ static void pump_msgs(BOOL *b) struct HEADER_TYPE { const char *key; const char *value; - BOOL skip_all_headers; }; static void create_xmlhttprequest(IHTMLDocument2 *doc) @@ -451,9 +450,6 @@ static void test_header(const struct HEADER_TYPE expect[], int num) SysFreeString(key); SysFreeString(text); - if(expect[i].skip_all_headers) - continue; - strcpy(buf, expect[i].key); strcat(buf, ": "); strcat(buf, expect[i].value); @@ -585,7 +581,6 @@ static void test_sync_xhr(IHTMLDocument2 *doc, const char *xml_url, const char * LONG val; HRESULT hres; static const struct HEADER_TYPE expect_headers[] = { - {"Accept-Ranges", "bytes", TRUE}, {"Content-Length", "51"}, {"Content-Type", "application/xml"} }; -- 2.11.4.GIT