Bug 171002

Summary: REGRESSION (r213168): An extra Web Content process is spun up on launch and is never closed
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebKit2Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, commit-queue, thorton
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Brady Eidson 2017-04-19 12:23:55 PDT
REGRESSION (r213168): An extra Web Content process is spun up on launch and is never closed

This happens in Safari and any other app that calls [WKProcessPool _warmInitialProcess]

<rdar://problem/30774839>
Comment 1 Brady Eidson 2017-04-19 12:26:58 PDT
Created attachment 307496 [details]
Patch
Comment 2 Alex Christensen 2017-04-19 12:40:51 PDT
Comment on attachment 307496 [details]
Patch

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

> Tools/TestWebKitAPI/Tests/WebKit2Cocoa/InitialWarmedProcessUsed.mm:51
> +    EXPECT_EQ([pool _webProcessCount], (size_t)1);

Do 1u, 1ull, or static_cast<size_t>(1) work?  I don't like this c-style cast.
Comment 3 Brady Eidson 2017-04-19 13:05:09 PDT
Created attachment 307500 [details]
Patch
Comment 4 WebKit Commit Bot 2017-04-19 15:43:52 PDT
Comment on attachment 307500 [details]
Patch

Clearing flags on attachment: 307500

Committed r215536: <http://trac.webkit.org/changeset/215536>
Comment 5 WebKit Commit Bot 2017-04-19 15:43:54 PDT
All reviewed patches have been landed.  Closing bug.