Reviewed by Mark Rowe.
authorap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2008 11:45:18 +0000 (11:45 +0000)
committerap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2008 11:45:18 +0000 (11:45 +0000)
        <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing

        * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
        (matching Mac DRT).
        * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29790 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp
WebKitTools/DumpRenderTree/win/DumpRenderTree.vcproj

index fa9bbc6839e6f1650407ee0775deb00afb4aac43..6089d7d5d98c262f6afc78209363c41ca71cf911 100644 (file)
@@ -1,3 +1,13 @@
+2008-01-25  Alexey Proskuryakov  <ap@webkit.org>
+
+        Reviewed by Mark Rowe.
+
+        <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
+
+        * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
+        (matching Mac DRT).
+        * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
+
 2008-01-24  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Ada Chan.
 2008-01-24  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Ada Chan.
index 6ac6f8e4c9f61e64f484b61b72bc20219c5e9475..8ea5059e8b3f5a5693e35111ab8682dcdc45b651 100644 (file)
@@ -40,6 +40,7 @@
 #include <wtf/Vector.h>
 #include <WebCore/COMPtr.h>
 #include <CoreFoundation/CoreFoundation.h>
 #include <wtf/Vector.h>
 #include <WebCore/COMPtr.h>
 #include <CoreFoundation/CoreFoundation.h>
+#include <CFNetwork/CFURLCachePriv.h>
 #include <JavaScriptCore/JavaScriptCore.h>
 #include <math.h>
 #include <pthread.h>
 #include <JavaScriptCore/JavaScriptCore.h>
 #include <math.h>
 #include <pthread.h>
@@ -1040,6 +1041,8 @@ int main(int argc, char* argv[])
     if (FAILED(webView->mainFrame(&frame)))
         return -1;
 
     if (FAILED(webView->mainFrame(&frame)))
         return -1;
 
+    CFURLCacheRemoveAllCachedResponses(CFURLCacheSharedURLCache());
+
 #ifdef _DEBUG
     _CrtMemState entryToMainMemCheckpoint;
     if (leakChecking)
 #ifdef _DEBUG
     _CrtMemState entryToMainMemCheckpoint;
     if (leakChecking)
index 29409cd62e6ed34fd9b0c4e5f2913991829b889b..8bc8a5d1ff6522a85147f35393831ddbe4c760f4 100644 (file)
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="Windows-1252"?>\r
+<?xml version="1.0" encoding="windows-1251"?>\r
 <VisualStudioProject\r
        ProjectType="Visual C++"\r
 <VisualStudioProject\r
        ProjectType="Visual C++"\r
-       Version="8.00"\r
+       Version="8,00"\r
        Name="DumpRenderTree"\r
        ProjectGUID="{6567DFD4-D6DE-4CD5-825D-17E353D160E1}"\r
        RootNamespace="DumpRenderTree"\r
        Name="DumpRenderTree"\r
        ProjectGUID="{6567DFD4-D6DE-4CD5-825D-17E353D160E1}"\r
        RootNamespace="DumpRenderTree"\r
@@ -54,7 +54,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="WebKitGUID$(WebKitConfigSuffix).lib WebKit$(WebKitDLLConfigSuffix).lib WTF$(WebKitConfigSuffix).lib CoreGraphics$(LibraryConfigSuffix).lib CoreFoundation$(LibraryConfigSuffix).lib pthreadVC2$(LibraryConfigSuffix).lib gdi32.lib ole32.lib oleaut32.lib user32.lib shlwapi.lib"\r
+                               AdditionalDependencies="WebKitGUID$(WebKitConfigSuffix).lib WebKit$(WebKitDLLConfigSuffix).lib WTF$(WebKitConfigSuffix).lib CoreGraphics$(LibraryConfigSuffix).lib CoreFoundation$(LibraryConfigSuffix).lib CFNetwork$(LibraryConfigSuffix).lib pthreadVC2$(LibraryConfigSuffix).lib gdi32.lib ole32.lib oleaut32.lib user32.lib shlwapi.lib"\r
                                AdditionalLibraryDirectories=""\r
                                DelayLoadDLLs=""\r
                                SubSystem="1"\r
                                AdditionalLibraryDirectories=""\r
                                DelayLoadDLLs=""\r
                                SubSystem="1"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="WebKitGUID$(WebKitConfigSuffix).lib WebKit$(WebKitDLLConfigSuffix).lib WTF$(WebKitConfigSuffix).lib CoreGraphics$(LibraryConfigSuffix).lib CoreFoundation$(LibraryConfigSuffix).lib pthreadVC2$(LibraryConfigSuffix).lib gdi32.lib ole32.lib oleaut32.lib user32.lib shlwapi.lib"\r
+                               AdditionalDependencies="WebKitGUID$(WebKitConfigSuffix).lib WebKit$(WebKitDLLConfigSuffix).lib WTF$(WebKitConfigSuffix).lib CoreGraphics$(LibraryConfigSuffix).lib CoreFoundation$(LibraryConfigSuffix).lib CFNetwork$(LibraryConfigSuffix).lib pthreadVC2$(LibraryConfigSuffix).lib gdi32.lib ole32.lib oleaut32.lib user32.lib shlwapi.lib"\r
                                AdditionalLibraryDirectories=""\r
                                DelayLoadDLLs=""\r
                                SubSystem="1"\r
                                AdditionalLibraryDirectories=""\r
                                DelayLoadDLLs=""\r
                                SubSystem="1"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="WebKitGUID$(WebKitConfigSuffix).lib WebKit$(WebKitDLLConfigSuffix).lib WTF$(WebKitConfigSuffix).lib CoreGraphics$(LibraryConfigSuffix).lib CoreFoundation$(LibraryConfigSuffix).lib pthreadVC2$(LibraryConfigSuffix).lib gdi32.lib ole32.lib oleaut32.lib user32.lib shlwapi.lib"\r
+                               AdditionalDependencies="WebKitGUID$(WebKitConfigSuffix).lib WebKit$(WebKitDLLConfigSuffix).lib WTF$(WebKitConfigSuffix).lib CoreGraphics$(LibraryConfigSuffix).lib CoreFoundation$(LibraryConfigSuffix).lib CFNetwork$(LibraryConfigSuffix).lib pthreadVC2$(LibraryConfigSuffix).lib gdi32.lib ole32.lib oleaut32.lib user32.lib shlwapi.lib"\r
                                AdditionalLibraryDirectories=""\r
                                DelayLoadDLLs=""\r
                                SubSystem="1"\r
                                AdditionalLibraryDirectories=""\r
                                DelayLoadDLLs=""\r
                                SubSystem="1"\r