[Webkit-unassigned] [Bug 200967] WebProcess ProcessSwapping problems

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 28 08:23:18 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=200967

--- Comment #4 from Chris Dumez <cdumez at apple.com> ---
(In reply to Carlos Garcia Campos from comment #3)
> (In reply to Chris Dumez from comment #2)
> > (In reply to Carlos Garcia Campos from comment #1)
> > > Maybe you are confused by pre-warmed process?
> > 
> > I am not sure this has anything to do with pre-warmed processes. Based on
> > the description, the issue seems to be related to PageCache and how it is
> > implemented with Process-Swap-On-Navigation. When navigating back here, we
> > swap back to the original process and leverage the PageCache entry in that
> > process (this was important to keep PageCache functionality when we
> > implemented process-swapping). The issue in question here seems specific to
> > GTK here so I am not sure I will be able to help much. I am not familiar
> > with webkit_web_extension_initialize / g_message. It seems like the
> > developer wants to know we swapped back to another process and is currently
> > not getting notified when the process is a "suspended" process (i.e. process
> > kept around simply for PageCache purposes). I am happy to answer
> > process-swap related questions if it helps GTK-port developers fix this
> > issue.
> 
> Thanks for your help Chris. I don't think this is specific to GTK,
> webkit_web_extension_initialize is equivalent to WKBundleInitialize and
> page-created signal is equivalent to InjectedBundle::Client::didCreatePage()

Well, our injected bundle API is not public :)
Injected bundles unfortunately often do not play nice with process swapping. Some work may be needed on injected bundle side to help figure out that we're back to using this process (maybe via load notifications?).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190828/e5594d85/attachment.html>


More information about the webkit-unassigned mailing list