2009-04-14 Jan Michael Alonzo <jmalonzo@webkit.org>
authorjmalonzo@webkit.org <jmalonzo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Apr 2009 11:30:16 +0000 (11:30 +0000)
committerjmalonzo@webkit.org <jmalonzo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Apr 2009 11:30:16 +0000 (11:30 +0000)
        Reviewed by Holger Freyther.

        [Gtk] disable soup auth dialog when running DRT
        https://bugs.webkit.org/show_bug.cgi?id=24598

        Disable soup's auth dialog when running the tests.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (setDefaultsToConsistentStateValuesForTesting):
        * GNUmakefile.am:

2009-04-14  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by Holger Freyther.

        [Gtk] disable soup auth dialog when running DRT
        https://bugs.webkit.org/show_bug.cgi?id=24598

        Enable http/tests/xmlhttprequest/failed-auth.html test. We should
        be able to run this test in non-interactive mode

        * platform/gtk/Skipped:

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

LayoutTests/ChangeLog
LayoutTests/platform/gtk/Skipped
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp
WebKitTools/GNUmakefile.am

index 0f882b2..bbc794f 100644 (file)
@@ -1,3 +1,15 @@
+2009-04-14  Jan Michael Alonzo  <jmalonzo@webkit.org>
+
+        Reviewed by Holger Freyther.
+
+        [Gtk] disable soup auth dialog when running DRT
+        https://bugs.webkit.org/show_bug.cgi?id=24598
+
+        Enable http/tests/xmlhttprequest/failed-auth.html test. We should
+        be able to run this test in non-interactive mode
+
+        * platform/gtk/Skipped:
+
 2009-04-13  Francisco Tolmasky  <francisco@280north.com>
 
         Reviewed by Oliver Hunt.
index c819dca..fd19135 100644 (file)
@@ -539,7 +539,6 @@ http/tests/xmlhttprequest/cookies.html
 http/tests/xmlhttprequest/default-content-type-dashboard.html
 http/tests/xmlhttprequest/encode-request-url-2.html
 http/tests/xmlhttprequest/exceptions.html
-http/tests/xmlhttprequest/failed-auth.html
 http/tests/xmlhttprequest/frame-load-cancelled-abort.html
 http/tests/xmlhttprequest/get-dangerous-headers.html
 http/tests/xmlhttprequest/interactive-state.html
index 1872570..e222707 100644 (file)
@@ -1,3 +1,16 @@
+2009-04-14  Jan Michael Alonzo  <jmalonzo@webkit.org>
+
+        Reviewed by Holger Freyther.
+
+        [Gtk] disable soup auth dialog when running DRT
+        https://bugs.webkit.org/show_bug.cgi?id=24598
+
+        Disable soup's auth dialog when running the tests.
+
+        * DumpRenderTree/gtk/DumpRenderTree.cpp:
+        (setDefaultsToConsistentStateValuesForTesting):
+        * GNUmakefile.am:
+
 2009-04-13  Darin Adler  <darin@apple.com>
 
         Reviewed by Mark Rowe.
index 57e3381..24e8d62 100644 (file)
@@ -312,6 +312,11 @@ static void setDefaultsToConsistentStateValuesForTesting()
                  "default-monospace-font-size", 13,
                  "minimum-font-size", 1,
                  NULL);
+
+    /* Disable the default auth dialog for testing */
+    SoupSession* session = webkit_get_default_session();
+    soup_session_remove_feature_by_type(session, WEBKIT_TYPE_SOUP_AUTH_DIALOG);
+
 #if PLATFORM(X11)
     webkit_web_settings_add_extra_plugin_directory(webView, TEST_PLUGIN_DIR);
 #endif
index 42d8cf3..7f09e0e 100644 (file)
@@ -59,11 +59,13 @@ Programs_DumpRenderTree_SOURCES = \
 
 Programs_DumpRenderTree_CXXFLAGS = \
        $(global_cxxflags) \
+       $(dumprendertree_cppflags) \
        $(Programs_DumpRenderTree_CFLAGS)
 
 Programs_DumpRenderTree_CFLAGS = \
        -fno-strict-aliasing \
        -O2 \
+       $(dumprendertree_cppflags) \
        $(global_cflags) \
        $(GLOBALDEPS_CFLAGS) \
        $(CAIRO_CFLAGS) \
@@ -75,7 +77,8 @@ Programs_DumpRenderTree_LDADD = \
        $(GLOBALDEPS_LIBS) \
        $(CAIRO_LIBS) \
        $(GTK_LIBS) \
-       $(GLIB_LIBS)
+       $(GLIB_LIBS) \
+       $(LIBSOUP_LIBS)
 
 # clean target
 CLEANFILES += \