[Webkit-unassigned] [Bug 194830] [WPE] Do not create a PlatformDisplay in the Service Worker process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 1 05:22:10 PST 2019


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

--- Comment #15 from Loïc Yhuel <loic.yhuel at softathome.com> ---
(In reply to Zan Dobersek from comment #14)
> Comment on attachment 363167 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=363167&action=review
> 
> > Source/WebKit/Shared/WebProcessCreationParameters.h:207
> > +#if ENABLE(SERVICE_WORKER)
> > +    bool isServiceWorkerProcess { false };
> > +#endif
> 
> Let's rename this to `isWPEClient`, and place it above the other two member
> variables here. Decoding/encoding sequencing should follow this order. It
> should also default to true, and not be guarded with ENABLE(SERVICE_WORKER).
> 
Then, should it be tested for implementationLibraryName usage too (ie not calling wpe_loader_init in the Service Worker process) ?

The specific `isWPEClient` name might not be appropriate if we later find other things we can skip for Service Workers : for example the `WebCore::initializeGStreamer` in `WebProcess::platformInitializeWebProcess` is probably not needed.

-- 
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/20190301/54425dbf/attachment-0001.html>


More information about the webkit-unassigned mailing list