Bug 207905

Summary: Do not eagerly launch WebProcess when WKPagePostMessageToInjectedBundle() is called
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, beidson, commit-queue, ggaren, nham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=195954
https://bugs.webkit.org/show_bug.cgi?id=207908
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2020-02-18 12:52:35 PST
Do not eagerly launch WebProcess when WKPagePostMessageToInjectedBundle() is called. It is bad for performance as we cannot leverage the process cache if we don't know the domain of the site that will be loaded. Instead we now queue those injected bundle messages until we really need to launch the process.
Attachments
Patch (4.26 KB, patch)
2020-02-18 12:55 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2020-02-18 12:55:16 PST
WebKit Commit Bot
Comment 2 2020-02-18 16:21:54 PST
Comment on attachment 391078 [details] Patch Clearing flags on attachment: 391078 Committed r256882: <https://trac.webkit.org/changeset/256882>
WebKit Commit Bot
Comment 3 2020-02-18 16:21:55 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 4 2020-02-18 16:22:52 PST
Note You need to log in before you can comment on or make changes to this bug.