Bug 180263

Summary: Get rid of microtask in ServiceWorkerContainer::jobResolvedWithRegistration()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, commit-queue, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 180215    
Attachments:
Description Flags
Patch none

Description Chris Dumez 2017-12-01 10:41:49 PST
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.
Comment 1 Chris Dumez 2017-12-01 10:46:02 PST
Created attachment 328120 [details]
Patch
Comment 2 Chris Dumez 2017-12-01 14:15:00 PST
Comment on attachment 328120 [details]
Patch

Clearing flags on attachment: 328120

Committed r225415: <https://trac.webkit.org/changeset/225415>
Comment 3 Chris Dumez 2017-12-01 14:15:01 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2017-12-01 14:19:48 PST
<rdar://problem/35805634>