Title: [161178] trunk/Source/WebCore
Revision
161178
Author
[email protected]
Date
2013-12-31 00:32:10 -0800 (Tue, 31 Dec 2013)

Log Message

[SOUP] The initiating page is lost after a redirection
https://bugs.webkit.org/show_bug.cgi?id=126293

Reviewed by Martin Robinson.

The initiating page id is attached to the initial soup request
object, but not to the one created after a redirection.

* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::createSoupRequestAndMessageForHandle): Call
setSoupRequestInitiatingPageIDFromNetworkingContext() here if the
soup request is created successfully.
(WebCore::ResourceHandle::start): Remove the call to
setSoupRequestInitiatingPageIDFromNetworkingContext().

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (161177 => 161178)


--- trunk/Source/WebCore/ChangeLog	2013-12-31 08:30:26 UTC (rev 161177)
+++ trunk/Source/WebCore/ChangeLog	2013-12-31 08:32:10 UTC (rev 161178)
@@ -1,5 +1,22 @@
 2013-12-31  Carlos Garcia Campos  <[email protected]>
 
+        [SOUP] The initiating page is lost after a redirection
+        https://bugs.webkit.org/show_bug.cgi?id=126293
+
+        Reviewed by Martin Robinson.
+
+        The initiating page id is attached to the initial soup request
+        object, but not to the one created after a redirection.
+
+        * platform/network/soup/ResourceHandleSoup.cpp:
+        (WebCore::createSoupRequestAndMessageForHandle): Call
+        setSoupRequestInitiatingPageIDFromNetworkingContext() here if the
+        soup request is created successfully.
+        (WebCore::ResourceHandle::start): Remove the call to
+        setSoupRequestInitiatingPageIDFromNetworkingContext().
+
+2013-12-31  Carlos Garcia Campos  <[email protected]>
+
         [SOUP] Implement ResourceHandle::continueWillSendRequest()
         https://bugs.webkit.org/show_bug.cgi?id=126291
 

Modified: trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp (161177 => 161178)


--- trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp	2013-12-31 08:30:26 UTC (rev 161177)
+++ trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp	2013-12-31 08:32:10 UTC (rev 161178)
@@ -1048,6 +1048,8 @@
         return false;
     }
 
+    setSoupRequestInitiatingPageIDFromNetworkingContext(d->m_soupRequest.get(), d->m_context.get());
+
     return true;
 }
 
@@ -1078,8 +1080,6 @@
         return true;
     }
 
-    setSoupRequestInitiatingPageIDFromNetworkingContext(d->m_soupRequest.get(), d->m_context.get());
-
     // Send the request only if it's not been explicitly deferred.
     if (!d->m_defersLoading)
         sendPendingRequest();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to