Dispatching an event on a ServiceWorkerRegistration may fail or crash due to GC. We need to make sure that a ServiceWorkerRegistration's wrapper stays alive as long as we may dispatch events on it.
Created attachment 327038 [details] Patch
Created attachment 327079 [details] Patch
Created attachment 327085 [details] Patch
Comment on attachment 327085 [details] Patch r=me
Comment on attachment 327085 [details] Patch Clearing flags on attachment: 327085 Committed r224944: <https://trac.webkit.org/changeset/224944>
All reviewed patches have been landed. Closing bug.
<rdar://problem/35603518>