[Webkit-unassigned] [Bug 172390] [iOS]: RunLoop::main().dispatch() needs to take into account USE_WEB_THREAD

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 19 17:22:25 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=172390

--- Comment #1 from Andy Estes <aestes at apple.com> ---
(In reply to Joseph Pecoraro from comment #0)
>     Modules/applepay/ApplePaySession.cpp
>     640:        RunLoop::main().dispatch([promise, canMakePayments]()
> mutable {
> 

In practice this is safe because Apple Pay is disabled at runtime in WebKit1 clients, so this code won't execute on a WebThread.

I think callOnMainThread() could be used here without a problem, though.

-- 
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/20170520/10be9408/attachment.html>


More information about the webkit-unassigned mailing list