WebKitTools: Implement the setAllowUniversalAccessFromFileURLs method
[WebKit-https.git] / WebKitTools / DumpRenderTree / qt / DumpRenderTree.cpp
index a49be4463ad2ba0258f98648030f3ff697488ab5..ff06dbe9dd8896a6e8b6b990578260a7cbd702a0 100644 (file)
@@ -152,6 +152,7 @@ void WebPage::resetSettings()
     settings()->resetAttribute(QWebSettings::PrivateBrowsingEnabled);
     settings()->resetAttribute(QWebSettings::LinksIncludedInFocusChain);
     settings()->resetAttribute(QWebSettings::OfflineWebApplicationCacheEnabled);
+    settings()->resetAttribute(QWebSettings::LocalContentCanAccessRemoteUrls);
     QWebSettings::setMaximumPagesInCache(0); // reset to default
 }