Title: [235794] branches/safari-606-branch/Source/WebKit
- Revision
- 235794
- Author
- [email protected]
- Date
- 2018-09-07 13:07:44 -0700 (Fri, 07 Sep 2018)
Log Message
Cherry-pick r235145. rdar://problem/44169453
Storage Access API: The call to ResourceLoadStatisticsMemoryStore::grantStorageAccessInternal() should send eTLD+1s, not full host names
https://bugs.webkit.org/show_bug.cgi?id=188783
<rdar://problem/43559215>
Reviewed by Alex Christensen.
* UIProcess/ResourceLoadStatisticsMemoryStore.cpp:
(WebKit::ResourceLoadStatisticsMemoryStore::grantStorageAccess):
Now sends the eTLD+1 for the top frame and sub frame.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-606-branch/Source/WebKit/ChangeLog (235793 => 235794)
--- branches/safari-606-branch/Source/WebKit/ChangeLog 2018-09-07 20:07:42 UTC (rev 235793)
+++ branches/safari-606-branch/Source/WebKit/ChangeLog 2018-09-07 20:07:44 UTC (rev 235794)
@@ -1,5 +1,34 @@
2018-09-06 Babak Shafiei <[email protected]>
+ Cherry-pick r235145. rdar://problem/44169453
+
+ Storage Access API: The call to ResourceLoadStatisticsMemoryStore::grantStorageAccessInternal() should send eTLD+1s, not full host names
+ https://bugs.webkit.org/show_bug.cgi?id=188783
+ <rdar://problem/43559215>
+
+ Reviewed by Alex Christensen.
+
+ * UIProcess/ResourceLoadStatisticsMemoryStore.cpp:
+ (WebKit::ResourceLoadStatisticsMemoryStore::grantStorageAccess):
+ Now sends the eTLD+1 for the top frame and sub frame.
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2018-08-21 John Wilander <[email protected]>
+
+ Storage Access API: The call to ResourceLoadStatisticsMemoryStore::grantStorageAccessInternal() should send eTLD+1s, not full host names
+ https://bugs.webkit.org/show_bug.cgi?id=188783
+ <rdar://problem/43559215>
+
+ Reviewed by Alex Christensen.
+
+ * UIProcess/ResourceLoadStatisticsMemoryStore.cpp:
+ (WebKit::ResourceLoadStatisticsMemoryStore::grantStorageAccess):
+ Now sends the eTLD+1 for the top frame and sub frame.
+
+2018-09-06 Babak Shafiei <[email protected]>
+
Cherry-pick r234719. rdar://problem/44169456
Yet more crashes in MobileSafari under -[WKFormInputSession setSuggestions:]
Modified: branches/safari-606-branch/Source/WebKit/UIProcess/ResourceLoadStatisticsMemoryStore.cpp (235793 => 235794)
--- branches/safari-606-branch/Source/WebKit/UIProcess/ResourceLoadStatisticsMemoryStore.cpp 2018-09-07 20:07:42 UTC (rev 235793)
+++ branches/safari-606-branch/Source/WebKit/UIProcess/ResourceLoadStatisticsMemoryStore.cpp 2018-09-07 20:07:44 UTC (rev 235794)
@@ -450,7 +450,7 @@
ASSERT(subFrameStatistic.hadUserInteraction);
subFrameStatistic.storageAccessUnderTopFrameOrigins.add(topFramePrimaryDomain);
}
- grantStorageAccessInternal(WTFMove(subFrameHost), WTFMove(topFrameHost), frameID, pageID, userWasPromptedNow, WTFMove(completionHandler));
+ grantStorageAccessInternal(WTFMove(subFramePrimaryDomain), WTFMove(topFramePrimaryDomain), frameID, pageID, userWasPromptedNow, WTFMove(completionHandler));
}
void ResourceLoadStatisticsMemoryStore::grantStorageAccessInternal(String&& subFramePrimaryDomain, String&& topFramePrimaryDomain, std::optional<uint64_t> frameID, uint64_t pageID, bool userWasPromptedNowOrEarlier, CompletionHandler<void(bool)>&& callback)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes