[Webkit-unassigned] [Bug 247332] New: Checking m_defaultPageGroup->preferences() in WebProcessPool::platformInitializeWebProcess() is probably wrong
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 1 13:13:45 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=247332
Bug ID: 247332
Summary: Checking m_defaultPageGroup->preferences() in
WebProcessPool::platformInitializeWebProcess() is
probably wrong
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Process Model
Assignee: webkit-unassigned at lists.webkit.org
Reporter: simon.fraser at apple.com
WebProcessPool::platformInitializeWebProcess() does:
if (m_defaultPageGroup->preferences().useGPUProcessForDOMRenderingEnabled())
parameters.maximumIOSurfaceSize = WebCore::IOSurface::maximumSize();
but m_defaultPageGroup->preferences() is uninitialized at this point, so this condition is never hit.
The same applies to checks for mediaDevicesEnabled and captureAudioInGPUProcessEnabled lower down.
Behavior might be different in different UI apps (depending on their use of the API). I reproduced the issue in MiniBrowser on macOS.
--
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/20221101/e6b1216e/attachment-0001.htm>
More information about the webkit-unassigned
mailing list