Title: [228958] branches/safari-605-branch/Source/WebCore
Revision
228958
Author
[email protected]
Date
2018-02-23 12:30:06 -0800 (Fri, 23 Feb 2018)

Log Message

Cherry-pick r228934. rdar://problem/37816677

Modified Paths

Diff

Modified: branches/safari-605-branch/Source/WebCore/ChangeLog (228957 => 228958)


--- branches/safari-605-branch/Source/WebCore/ChangeLog	2018-02-23 20:30:04 UTC (rev 228957)
+++ branches/safari-605-branch/Source/WebCore/ChangeLog	2018-02-23 20:30:06 UTC (rev 228958)
@@ -1,5 +1,23 @@
 2018-02-23  Jason Marcell  <[email protected]>
 
+        Cherry-pick r228934. rdar://problem/37816677
+
+    2018-02-22  Chris Dumez  <[email protected]>
+
+            ResourceRequestBase::isolatedCopy() fails to isolate copy the cachePartition
+            https://bugs.webkit.org/show_bug.cgi?id=183059
+            <rdar://problem/37800202>
+
+            Reviewed by Youenn Fablet.
+
+            Update ResourceRequestBase::setAsIsolatedCopy() to call isolatedCopy() on the cachePartition as well,
+            given that it is a String and it would not be safe to send it to another thread otherwise.
+
+            * platform/network/ResourceRequestBase.cpp:
+            (WebCore::ResourceRequestBase::setAsIsolatedCopy):
+
+2018-02-23  Jason Marcell  <[email protected]>
+
         Cherry-pick r228931. rdar://problem/37816658
 
     2018-02-22  Chris Dumez  <[email protected]>

Modified: branches/safari-605-branch/Source/WebCore/platform/network/ResourceRequestBase.cpp (228957 => 228958)


--- branches/safari-605-branch/Source/WebCore/platform/network/ResourceRequestBase.cpp	2018-02-23 20:30:04 UTC (rev 228957)
+++ branches/safari-605-branch/Source/WebCore/platform/network/ResourceRequestBase.cpp	2018-02-23 20:30:06 UTC (rev 228958)
@@ -67,7 +67,7 @@
     setPriority(other.priority());
     setRequester(other.requester());
     setInitiatorIdentifier(other.initiatorIdentifier().isolatedCopy());
-    setCachePartition(other.cachePartition());
+    setCachePartition(other.cachePartition().isolatedCopy());
 
     updateResourceRequest();
     m_httpHeaderFields = other.httpHeaderFields().isolatedCopy();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to