[Webkit-unassigned] [Bug 201543] New: [macOS] Pid is sometimes invalid when creating sandbox extensions by pid.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 6 07:25:08 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=201543
Bug ID: 201543
Summary: [macOS] Pid is sometimes invalid when creating sandbox
extensions by pid.
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pvollan at apple.com
There is a race condition when starting a load of a local file, where the WebContent process has not finished launching yet, and its pid is not available. When we try to create a sandbox extension by using the pid of the WebContent process, it is not available in the cases where the WebContent process has just launched and has not finished launching yet. This problem can be fixed by waiting for the WebContent process to finish launching before creating the sandbox extension. In order to do that, the process launcher must not run the launch reply block on the main thread as it currently does, since that block would never be executed when the main thread is waiting for the process to finish launching.
--
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/20190906/654fd47b/attachment.html>
More information about the webkit-unassigned
mailing list