Bug 196735

Summary: SWClientConnection should not double hop to fire some events
Product: WebKit Reporter: youenn fablet <youennf>
Component: Service WorkersAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, beidson, cdumez, commit-queue, tsavell, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description youenn fablet 2019-04-09 09:46:42 PDT
postMessage in service workers is hopping from main thread to service worker thread to dispatch events.
Ditto for fetch event.
Some other events though are hopping from main thread to service worker thread, then posting a task to dispatch events.
This may create ordering problems
Comment 1 youenn fablet 2019-04-09 10:00:40 PDT
Created attachment 367046 [details]
Patch
Comment 2 youenn fablet 2019-04-10 09:13:47 PDT
Created attachment 367126 [details]
Patch
Comment 3 WebKit Commit Bot 2019-04-10 15:55:07 PDT
Comment on attachment 367126 [details]
Patch

Clearing flags on attachment: 367126

Committed r244160: <https://trac.webkit.org/changeset/244160>
Comment 4 WebKit Commit Bot 2019-04-10 15:55:09 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-04-10 15:56:19 PDT
<rdar://problem/49794126>
Comment 6 youenn fablet 2019-04-11 14:27:45 PDT
*** Bug 190828 has been marked as a duplicate of this bug. ***