[Webkit-unassigned] [Bug 241926] [iOS] Chrome hangs in stringByResolvingSymlinksInPath

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 24 07:46:22 PDT 2022


--- Comment #2 from Ali Juma <ajuma at chromium.org> ---
(In reply to Alexey Proskuryakov from comment #1)
> Could you please elaborate on why this is a WebKit issue?
> _fetchDataRecordsOfTypes:withOptions:completionHandler: is of course async
> and could be implemented on a secondary thread, but I'm not sure if realpath
> being pathologically slow is normal, and something for WebKit to be
> defensive against.

The main thread is hanging inside a call made by WebKit, and this is something that would be hard for an embedder to work around, given that a variety of filesystem-related calls on other threads seem to cause realpath to hang. 

In other words, it's not clear what else a caller of -[WKWebsiteDataStore fetchDataRecordsOfTypes:completionHandler:] can do to defend against this, since this is (afaict) required to be called on the main thread.

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/20220624/d6807270/attachment.htm>

More information about the webkit-unassigned mailing list