Jacek Caban : mshtml: Skip headers problematic for cache.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 7 11:42:52 CDT 2016


Module: wine
Branch: master
Commit: 80893bcf5236c5f0097ddd3aeda59b900b7edf80
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=80893bcf5236c5f0097ddd3aeda59b900b7edf80

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Apr  7 15:33:27 2016 +0200

mshtml: Skip headers problematic for cache.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 7e75b79..e1c2ef1 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"}
     };




More information about the wine-cvs mailing list