Bug 180263 - Get rid of microtask in ServiceWorkerContainer::jobResolvedWithRegistration()
Summary: Get rid of microtask in ServiceWorkerContainer::jobResolvedWithRegistration()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks: 180215
  Show dependency treegraph
 
Reported: 2017-12-01 10:41 PST by Chris Dumez
Modified: 2017-12-01 14:19 PST (History)
4 users (show)

See Also:


Attachments
Patch (8.99 KB, patch)
2017-12-01 10:46 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>