Title: [102159] trunk/Source/WebKit/efl
Revision
102159
Author
[email protected]
Date
2011-12-06 11:29:44 -0800 (Tue, 06 Dec 2011)

Log Message

[EFL] Do not lose message flags when converting to/from Soup Requests/Responses
https://bugs.webkit.org/show_bug.cgi?id=73924

Reviewed by Gustavo Noronha Silva.

Apply the same change added to the GTK+ port in r55086 to prevent
soup message flags from being lost by updating the request flags when
a response is received.

* WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):

Modified Paths

Diff

Modified: trunk/Source/WebKit/efl/ChangeLog (102158 => 102159)


--- trunk/Source/WebKit/efl/ChangeLog	2011-12-06 19:29:42 UTC (rev 102158)
+++ trunk/Source/WebKit/efl/ChangeLog	2011-12-06 19:29:44 UTC (rev 102159)
@@ -1,3 +1,17 @@
+2011-12-05  Raphael Kubo da Costa  <[email protected]>
+
+        [EFL] Do not lose message flags when converting to/from Soup Requests/Responses
+        https://bugs.webkit.org/show_bug.cgi?id=73924
+
+        Reviewed by Gustavo Noronha Silva.
+
+        Apply the same change added to the GTK+ port in r55086 to prevent
+        soup message flags from being lost by updating the request flags when
+        a response is received.
+
+        * WebCoreSupport/FrameLoaderClientEfl.cpp:
+        (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):
+
 2011-12-04  Kangil Han  <[email protected]>
 
         [EFL] Fix broken UTF-8 characters issue on editor command.

Modified: trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp (102158 => 102159)


--- trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp	2011-12-06 19:29:42 UTC (rev 102158)
+++ trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp	2011-12-06 19:29:44 UTC (rev 102159)
@@ -230,8 +230,16 @@
     delete this;
 }
 
-void FrameLoaderClientEfl::dispatchDidReceiveResponse(DocumentLoader*, unsigned long, const ResourceResponse& response)
+void FrameLoaderClientEfl::dispatchDidReceiveResponse(DocumentLoader* loader, unsigned long, const ResourceResponse& response)
 {
+#if USE(SOUP)
+    // Update our knowledge of request soup flags - some are only set
+    // after the request is done.
+    loader->request().setSoupMessageFlags(response.soupMessageFlags());
+#else
+    UNUSED_PARAM(loader);
+#endif
+
     m_response = response;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to