[Webkit-unassigned] [Bug 244670] New: Support desired callback queue for loadFromHTMLWithData to prevent deadlocks
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 1 08:53:20 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=244670
Bug ID: 244670
Summary: Support desired callback queue for
loadFromHTMLWithData to prevent deadlocks
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit API
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jbedard at apple.com
The UIKit usage of this API permits public clients to call into `loadObjectOfClass` from the main queue, therefore typically spinning the run loop or using semaphores. As a result, it’ll deadlock due to loadFromHTMLWithData always re-dispatching back out onto the main queue for its callback.
The only way to get around this is to provide a callback queue up front.
--
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/20220901/d44ffa68/attachment.htm>
More information about the webkit-unassigned
mailing list