Title: [227358] trunk/Source/WebKit
Revision
227358
Author
[email protected]
Date
2018-01-22 14:15:22 -0800 (Mon, 22 Jan 2018)

Log Message

SW: Make sure ServiceWorker loading and requests are correctly cleared by ITP
https://bugs.webkit.org/show_bug.cgi?id=181942
<rdar://problem/35132091>

Patch by Youenn Fablet <[email protected]> on 2018-01-22
Reviewed by Chris Dumez.

Add ServiceWorkerRegistrations and DOMCache as persistent data to be cleared according ITP decisions.

* UIProcess/WebResourceLoadStatisticsStore.cpp:
(WebKit::WebResourceLoadStatisticsStore::monitoredDataTypes):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (227357 => 227358)


--- trunk/Source/WebKit/ChangeLog	2018-01-22 22:12:58 UTC (rev 227357)
+++ trunk/Source/WebKit/ChangeLog	2018-01-22 22:15:22 UTC (rev 227358)
@@ -1,3 +1,16 @@
+2018-01-22  Youenn Fablet  <[email protected]>
+
+        SW: Make sure ServiceWorker loading and requests are correctly cleared by ITP
+        https://bugs.webkit.org/show_bug.cgi?id=181942
+        <rdar://problem/35132091>
+
+        Reviewed by Chris Dumez.
+
+        Add ServiceWorkerRegistrations and DOMCache as persistent data to be cleared according ITP decisions.
+
+        * UIProcess/WebResourceLoadStatisticsStore.cpp:
+        (WebKit::WebResourceLoadStatisticsStore::monitoredDataTypes):
+
 2018-01-22  Chris Dumez  <[email protected]>
 
         Add release logging to help debug issues related to service workers

Modified: trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp (227357 => 227358)


--- trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp	2018-01-22 22:12:58 UTC (rev 227357)
+++ trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp	2018-01-22 22:15:22 UTC (rev 227358)
@@ -59,6 +59,7 @@
 {
     static NeverDestroyed<OptionSet<WebsiteDataType>> dataTypes(std::initializer_list<WebsiteDataType>({
         WebsiteDataType::Cookies,
+        WebsiteDataType::DOMCache,
         WebsiteDataType::IndexedDBDatabases,
         WebsiteDataType::LocalStorage,
         WebsiteDataType::MediaKeys,
@@ -68,6 +69,9 @@
 #endif
         WebsiteDataType::SearchFieldRecentSearches,
         WebsiteDataType::SessionStorage,
+#if ENABLE(SERVICE_WORKER)
+        WebsiteDataType::ServiceWorkerRegistrations,
+#endif
         WebsiteDataType::WebSQLDatabases,
     }));
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to