Title: [226083] trunk/Source/WebKit
Revision
226083
Author
beid...@apple.com
Date
2017-12-18 16:14:24 -0800 (Mon, 18 Dec 2017)

Log Message

Apps that use both WK1 and WK2 can crash creating a WKWebsiteDataStore.
https://bugs.webkit.org/show_bug.cgi?id=180953

Reviewed by Chris Dumez.

* UIProcess/WebsiteData/WebsiteDataStore.cpp: Make an isMainThread() asset be an isUIThread() assert.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (226082 => 226083)


--- trunk/Source/WebKit/ChangeLog	2017-12-18 23:02:40 UTC (rev 226082)
+++ trunk/Source/WebKit/ChangeLog	2017-12-19 00:14:24 UTC (rev 226083)
@@ -1,3 +1,12 @@
+2017-12-18  Brady Eidson  <beid...@apple.com>
+
+        Apps that use both WK1 and WK2 can crash creating a WKWebsiteDataStore.
+        https://bugs.webkit.org/show_bug.cgi?id=180953
+
+        Reviewed by Chris Dumez.
+
+        * UIProcess/WebsiteData/WebsiteDataStore.cpp: Make an isMainThread() asset be an isUIThread() assert.
+
 2017-12-18  Brent Fulgham  <bfulg...@apple.com>
 
         [macOS, iOS] Add new mach lookup port for CoreMedia remote control

Modified: trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp (226082 => 226083)


--- trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp	2017-12-18 23:02:40 UTC (rev 226082)
+++ trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp	2017-12-19 00:14:24 UTC (rev 226083)
@@ -57,7 +57,7 @@
 
 static HashMap<PAL::SessionID, WebsiteDataStore*>& nonDefaultDataStores()
 {
-    RELEASE_ASSERT(isMainThread());
+    RELEASE_ASSERT(isUIThread());
     static NeverDestroyed<HashMap<PAL::SessionID, WebsiteDataStore*>> map;
     return map;
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to