WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
244670
Support desired callback queue for loadFromHTMLWithData to prevent deadlocks
https://bugs.webkit.org/show_bug.cgi?id=244670
Summary
Support desired callback queue for loadFromHTMLWithData to prevent deadlocks
Jonathan Bedard
Reported
2022-09-01 08:53:20 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Jonathan Bedard
Comment 1
2022-09-01 08:53:43 PDT
<
rdar://problem/99404547
>
Kieran Senior
Comment 2
2022-09-01 09:14:20 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/3897
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug