Get rid of microtask in ServiceWorkerContainer::jobResolvedWithRegistration(). It is no longer needed and MicrotaskQueue::mainThreadQueue() is only safe to use from the main thread, as its name suggest. ServiceWorkerContainer are also instantiated in Service worker threads nowadays.
Created attachment 328120 [details] Patch
Comment on attachment 328120 [details] Patch Clearing flags on attachment: 328120 Committed r225415: <https://trac.webkit.org/changeset/225415>
All reviewed patches have been landed. Closing bug.
<rdar://problem/35805634>