Use completion handlers for ResourceHandleClient::canAuthenticateAgainstProtectionSpaceAsync
Created attachment 336446 [details] Patch
Comment on attachment 336446 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=336446&action=review r=me with fix > Source/WebCore/platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp:366 > + auto completionHandler = [protectedThis = WTFMove(protectedThis)] (bool result) mutable { You WTFMove() protectedThis here... > Source/WebCore/platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp:371 > + if (!protectedThis->hasHandle()) ...but use it here
Fixed and landed in http://trac.webkit.org/r229959
<rdar://problem/38835529>