[Webkit-unassigned] [Bug 231963] WebAuthn Platform UI callbacks are not guaranteed to happen on the main thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 19 10:54:51 PDT 2021


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

Brent Fulgham <bfulgham at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bfulgham at webkit.org

--- Comment #3 from Brent Fulgham <bfulgham at webkit.org> ---
Comment on attachment 441748
  --> https://bugs.webkit.org/attachment.cgi?id=441748
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=441748&action=review

> Source/WebKit/ChangeLog:4
> +        https://bugs.webkit.org/show_bug.cgi?id=231963

Please add: <rdar://84420452>

> Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm:268
> +        dispatch_async(dispatch_get_main_queue(), makeBlockPtr([weakThis, handler = WTFMove(handler), window = WTFMove(window), proxy = WTFMove(proxy), daemonEndpoint = retainPtr(daemonEndpoint), error = retainPtr(error)] () mutable {

This would be better as:

callOnMainThread([weakThis, handler = WTFMove(handler), window = WTFMove(window), proxy = WTFMove(proxy), daemonEndpoint = retainPtr(daemonEndpoint), error = retainPtr(error)] {
...
}

-- 
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/20211019/40121762/attachment.htm>


More information about the webkit-unassigned mailing list