-
robert@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt] Disable Icon Database by default in Qt DRT Unskip: http/tests/misc/favicon-loads-with-images-disabled.html http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny.html http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag.html Qt returns 5 (QNetworkReply::OperationCanceledError) instead of -999 for the XFrameOptions tests, so update accordingly. https://bugs.webkit.org/show_bug.cgi?id=37382 * platform/qt/Skipped: * platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt: Added. Qt returns 5 instead of -999. * platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt: Added. Qt returns 5 instead of -999. * platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt: Added. Qt returns 5 instead of -999. 2010-05-17 Robert Hogan <robert@webkit.org> Reviewed by Kenneth Rohde Christiansen. [Qt] Disable Icon Database by default in Qt DRT Unskip: http/tests/misc/favicon-loads-with-images-disabled.html http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny.html http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag.html https://bugs.webkit.org/show_bug.cgi?id=37382 Add support for layoutTestController.setIconDatabaseEnabled and layoutTestController.disableImageLoading(). The XFrameOptions tests were failing because of an extra resource load callback for favicon.ico requests. These extra callbacks are removed by supporting both of the above layoutTestContoller commands. * DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::resetSettings): (WebCore::DumpRenderTree::DumpRenderTree): * DumpRenderTree/qt/DumpRenderTreeQt.h: (WebCore::DumpRenderTree::drtStoragePath): * DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::reset): (LayoutTestController::disableImageLoading): (LayoutTestController::setIconDatabaseEnabled): * DumpRenderTree/qt/LayoutTestControllerQt.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d08c8d81