Layout Test http/tests/workers/service/postmessage-after-sw-process-crash.https.html...
[WebKit-https.git] / Source / WebKit / ChangeLog
index e3b1619..71b2027 100644 (file)
@@ -1,3 +1,17 @@
+2017-12-11  Chris Dumez  <cdumez@apple.com>
+
+        Layout Test http/tests/workers/service/postmessage-after-sw-process-crash.https.html is flaky
+        https://bugs.webkit.org/show_bug.cgi?id=180659
+
+        Reviewed by Youenn Fablet.
+
+        Fix flaky crash due to capturing an IPC::DataReference in a lambda, which would point to invalid
+        memory when the lambda is called asynchronously.
+
+        * StorageProcess/ServiceWorker/WebSWServerConnection.cpp:
+        (WebKit::WebSWServerConnection::postMessageToServiceWorkerFromClient):
+        (WebKit::WebSWServerConnection::postMessageToServiceWorkerFromServiceWorker):
+
 2017-12-11  Brent Fulgham  <bfulgham@apple.com>
 
         [iOS] Don't import 'UIKit-apps.sb' to the WebContent process sandbox