Fix <rdar://5133816> keepWebHistory is not implemented
[WebKit-https.git] / WebKitTools / DumpRenderTree / win / DumpRenderTree.cpp
index cdd849ddedff2a8da7db27b624072104a59642c6..49d3bb7db2d0ed22ddf179484871d6a7944a0994 100644 (file)
@@ -602,6 +602,10 @@ static void runTest(const char* pathOrURL)
     topLoadingFrame = 0;
     timedOut = false;
 
     topLoadingFrame = 0;
     timedOut = false;
 
+    COMPtr<IWebHistory> history(Create, CLSID_WebHistory);
+    if (history)
+        history->setOptionalSharedHistory(0);
+
     prevTestBFItem = 0;
     COMPtr<IWebView> webView;
     if (SUCCEEDED(frame->webView(&webView))) {
     prevTestBFItem = 0;
     COMPtr<IWebView> webView;
     if (SUCCEEDED(frame->webView(&webView))) {