Bug 204792

Summary: WebProcessPool::terminateServiceWorkerProcess should be renamed terminateServiceWorkers
Product: WebKit Reporter: youenn fablet <youennf>
Component: Service WorkersAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description youenn fablet 2019-12-03 05:49:26 PST
WebProcessPool::terminateServiceWorkerProcess should be renamed terminateServiceWorker since that is what it should do.
Comment 1 youenn fablet 2019-12-03 05:52:34 PST
Created attachment 384709 [details]
Patch
Comment 2 Chris Dumez 2019-12-03 11:49:57 PST
Comment on attachment 384709 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=384709&action=review

> Source/WebKit/UIProcess/WebProcessPool.cpp:-1733
> -    auto protectedThis = makeRef(*this);

Why drop this? Seems safer to protect ourselves as we iterate.
Comment 3 youenn fablet 2019-12-04 03:53:05 PST
Created attachment 384803 [details]
Patch for landing
Comment 4 youenn fablet 2019-12-04 05:33:00 PST
(In reply to Chris Dumez from comment #2)
> Comment on attachment 384709 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=384709&action=review
> 
> > Source/WebKit/UIProcess/WebProcessPool.cpp:-1733
> > -    auto protectedThis = makeRef(*this);
> 
> Why drop this? Seems safer to protect ourselves as we iterate.

I kept it.
Comment 5 WebKit Commit Bot 2019-12-04 06:16:28 PST
Comment on attachment 384803 [details]
Patch for landing

Clearing flags on attachment: 384803

Committed r253103: <https://trac.webkit.org/changeset/253103>
Comment 6 WebKit Commit Bot 2019-12-04 06:16:30 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2019-12-04 06:17:22 PST
<rdar://problem/57622520>