Currently, the web process is passing a service worker identifier. But the storage process may actually make this service worker redundant if updating it. In such a case the WebProcess active service worker This happens for instance when a service worker that does not control any client yet is being updated and shortly after a client is starting to be controlled. Registration identifier stays valid so it is best to use that one instead and compute the serviceWorkerIdentifier in the StorageProcess.
Created attachment 331199 [details] Patch
Comment on attachment 331199 [details] Patch Clearing flags on attachment: 331199 Committed r226904: <https://trac.webkit.org/changeset/226904>
All reviewed patches have been landed. Closing bug.
<rdar://problem/36477786>