-
mrobinson@webkit.org authored
Reviewed by Xan Lopez. [GTK] DRT needs an implementation of LayoutTestController.setIconDatabaseEnabled https://bugs.webkit.org/show_bug.cgi?id=54033 * platform/gtk/Skipped: Unskip a test that is now passing. 2011-02-08 Martin Robinson <mrobinson@igalia.com> Reviewed by Xan Lopez. [GTK] DRT needs an implementation of LayoutTestController.setIconDatabaseEnabled https://bugs.webkit.org/show_bug.cgi?id=54033 Add a DumpRenderTreeSupportGtk method for turning the icon database on and off. This is a likely candidate for a new API point. * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::setIconDatabaseEnabled): Added. * WebCoreSupport/DumpRenderTreeSupportGtk.h: * webkit/webkitglobals.cpp: (webkitInit): Call setIconDatabaseEnabled(true) on startup, instead of initializing the database manually. (WebKit::setIconDatabaseEnabled): Added. * webkit/webkitglobalsprivate.h: Added declarations. 2011-02-08 Martin Robinson <mrobinson@igalia.com> Reviewed by Xan Lopez. [GTK] DRT needs an implementation of LayoutTestController.setIconDatabaseEnabled https://bugs.webkit.org/show_bug.cgi?id=54033 Add an implementation of LayoutTestController.setIconDatabaseEnabled that just call DumpRenderTreeSupportGtk. Turn off the icon database between tests. * DumpRenderTree/gtk/DumpRenderTree.cpp: (resetDefaultsToConsistentValues): Turn off the icon database. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::setIconDatabaseEnabled): Call the appropriate DumpRenderTreeSupportGtk method. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
144b02c4