After https://trac.webkit.org/changeset/228589, some people are hitting release assertions. There appears to be a race condition between UI process and WebContent process's preferences being synced vs web view being created. <rdar://problem/37790257>
Created attachment 334506 [details] Patch
Created attachment 334568 [details] Patch
Comment on attachment 334568 [details] Patch r=me with non sw-enabled build fix. View in context: https://bugs.webkit.org/attachment.cgi?id=334568&action=review > Source/WebKit/StorageProcess/StorageProcess.cpp:191 > + return; The work done here seems harmless so maybe we can do it anyway, especially since we are disabling any IPC to Messages::WebSWServerToContextConnection? I am not familiar with this routine but maybe there is a chance for a race condition somehow so that we initialize the website data store first and get the entitlement later on.
*** This bug has been marked as a duplicate of bug 183135 ***
Comment on attachment 334568 [details] Patch lgtm too.
Reopening to attach new patch.
Created attachment 334631 [details] Patch for landing
Comment on attachment 334631 [details] Patch for landing Wait for EWS.
*** Bug 183135 has been marked as a duplicate of this bug. ***
Comment on attachment 334568 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=334568&action=review >> Source/WebKit/StorageProcess/StorageProcess.cpp:191 >> + return; > > The work done here seems harmless so maybe we can do it anyway, especially since we are disabling any IPC to Messages::WebSWServerToContextConnection? > I am not familiar with this routine but maybe there is a chance for a race condition somehow so that we initialize the website data store first and get the entitlement later on. We need this check to disable service worker in the storage process.
Created attachment 334634 [details] Patch for landing
Committed r229037: <https://trac.webkit.org/changeset/229037>