2010-08-26 Philippe Normand <pnormand@igalia.com>
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Aug 2010 06:48:15 +0000 (06:48 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Aug 2010 06:48:15 +0000 (06:48 +0000)
        Reviewed by Martin Robinson.

        [GTK] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
        https://bugs.webkit.org/show_bug.cgi?id=42152

        * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
        (LoadHTMLStringItem::invoke): Implementation using
        webkit_web_frame_load_string().

LayoutTests:

        Reviewed by Martin Robinson.

        [GTK] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
        https://bugs.webkit.org/show_bug.cgi?id=42152

        * platform/gtk/Skipped: Unskip now passing test.

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

LayoutTests/ChangeLog
LayoutTests/platform/gtk/Skipped
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/gtk/WorkQueueItemGtk.cpp

index c24e573..c3c4f6e 100644 (file)
@@ -1,3 +1,12 @@
+2010-08-26  Philippe Normand  <pnormand@igalia.com>
+
+        Reviewed by Martin Robinson.
+
+        [GTK] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
+        https://bugs.webkit.org/show_bug.cgi?id=42152
+
+        * platform/gtk/Skipped: Unskip now passing test.
+
 2010-08-26  Dumitru Daniliuc  <dumi@chromium.org>
 
         Unreviewed, Chromium expectations update.
index 47c63e0..7746841 100644 (file)
@@ -5205,10 +5205,6 @@ fast/forms/textarea-appearance-wrap.html
 # https://bugs.webkit.org/show_bug.cgi?id=30584
 svg/custom/font-face-not-in-document.svg
 
-# Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
-# https://bugs.webkit.org/show_bug.cgi?id=42152
-fast/loader/non-deferred-substitute-load.html
-
 # Probably related to https://bugs.webkit.org/show_bug.cgi?id=27637
 http/tests/security/mixedContent/insecure-plugin-in-iframe.html
 http/tests/loading/basic-auth-resend-wrong-credentials.html 
index 54af0b5..a183ff4 100644 (file)
@@ -1,3 +1,14 @@
+2010-08-26  Philippe Normand  <pnormand@igalia.com>
+
+        Reviewed by Martin Robinson.
+
+        [GTK] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
+        https://bugs.webkit.org/show_bug.cgi?id=42152
+
+        * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
+        (LoadHTMLStringItem::invoke): Implementation using
+        webkit_web_frame_load_string().
+
 2010-08-25  Jon Honeycutt  <jhoneycutt@apple.com>
 
         <rdar://problem/8334338> run-webkit-tests sometimes hangs when using
index afe81be..0f44f54 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "DumpRenderTree.h"
 
+#include <GOwnPtr.h>
 #include <JavaScriptCore/JSStringRef.h>
 #include <webkit/webkit.h>
 #include <string.h>
@@ -58,7 +59,10 @@ bool LoadItem::invoke() const
 
 bool LoadHTMLStringItem::invoke() const
 {
-    return false;
+    GOwnPtr<gchar> content(JSStringCopyUTF8CString(m_content.get()));
+    GOwnPtr<gchar> baseURL(JSStringCopyUTF8CString(m_baseURL.get()));
+    webkit_web_frame_load_string(mainFrame, content.get(), 0, 0, baseURL.get());
+    return true;
 }
 
 bool ReloadItem::invoke() const