Title: [259566] trunk/Source/WebCore
Revision
259566
Author
[email protected]
Date
2020-04-05 23:04:44 -0700 (Sun, 05 Apr 2020)

Log Message

Remove code that has no effect from loadURL
https://bugs.webkit.org/show_bug.cgi?id=210029

Patch by Rob Buis <[email protected]> on 2020-04-05
Reviewed by Darin Adler.

Remove setDomainForCachePartition from loadURL since it will be
overwritten in DocumentLoader::loadMainResource, this was
introduced by r213126.

* loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadURL):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (259565 => 259566)


--- trunk/Source/WebCore/ChangeLog	2020-04-06 06:02:06 UTC (rev 259565)
+++ trunk/Source/WebCore/ChangeLog	2020-04-06 06:04:44 UTC (rev 259566)
@@ -1,3 +1,17 @@
+2020-04-05  Rob Buis  <[email protected]>
+
+        Remove code that has no effect from loadURL
+        https://bugs.webkit.org/show_bug.cgi?id=210029
+
+        Reviewed by Darin Adler.
+
+        Remove setDomainForCachePartition from loadURL since it will be
+        overwritten in DocumentLoader::loadMainResource, this was
+        introduced by r213126.
+
+        * loader/FrameLoader.cpp:
+        (WebCore::FrameLoader::loadURL):
+
 2020-04-05  Manuel Rego Casasnovas  <[email protected]>
 
         Computed style for "outline-offset" is wrong when "outline-style" is "none"

Modified: trunk/Source/WebCore/loader/FrameLoader.cpp (259565 => 259566)


--- trunk/Source/WebCore/loader/FrameLoader.cpp	2020-04-06 06:02:06 UTC (rev 259565)
+++ trunk/Source/WebCore/loader/FrameLoader.cpp	2020-04-06 06:04:44 UTC (rev 259566)
@@ -1359,9 +1359,6 @@
     if (!referrer.isEmpty())
         request.setHTTPReferrer(referrer);
 
-    if (&m_frame.tree().top() != &m_frame)
-        request.setDomainForCachePartition(m_frame.tree().top().document()->domainForCachePartition());
-
     addExtraFieldsToRequest(request, newLoadType, true);
     if (isReload(newLoadType))
         request.setCachePolicy(ResourceRequestCachePolicy::ReloadIgnoringCacheData);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to