Re: WebDownloadDelegate delegate methods called on non-main thread
Re: WebDownloadDelegate delegate methods called on non-main thread
- Subject: Re: WebDownloadDelegate delegate methods called on non-main thread
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Mon, 05 Nov 2018 08:30:52 +0000
On 3 Nov 2018, at 00:30, Nick Beadman <email@hidden> wrote:
> the WebKit folks duped it to a radar which I thought was odd, maybe it isn’t.
There’s not how I read that bug report. If I go to:
<https://bugs.webkit.org/show_bug.cgi?id=190918>
I see the 2018-10-26 entry is from “Radar WebKit Bug Importer”, which implies
that it got imported into Radar by an automated system.
> I don’t see anything in the WebKit API that says that the WebPolicyDelegate
> callbacks will be called on the main thread.
I think that’s implied. WebKit is all about running a view, and all views are
main thread only.
> I have mitigated this by adding assets that will cause my code to crash
> immediately if I tell WebKit to download on anything other than the main
> thread.
That’s a good idea.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden