[Webkit-unassigned] [Bug 175076] Multiple Layout tests from web-platform-tests/beacon/ are timing out.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 3 10:45:51 PDT 2017


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

--- Comment #16 from Chris Dumez <cdumez at apple.com> ---
(In reply to Chris Dumez from comment #15)
> If I tweak NetworkLoad::didReceiveChallenge() to
> completionHandler(AuthenticationChallengeDisposition::UseCredential,
> serverTrustCredential(challenge)); whenever
> challenge.protectionSpace().authenticationScheme() ==
> ProtectionSpaceAuthenticationSchemeServerTrustEvaluationRequested, then the
> tests no longer time out.

The problem seems to be happen when NetworkLoad::completeAuthenticationChallenge() is called and m_parameters.clientCredentialPolicy == ClientCredentialPolicy::CannotAskClientForCredentials.

In such case, we call:
completionHandler(AuthenticationChallengeDisposition::UseCredential, { });

If I replace with:
completionHandler(AuthenticationChallengeDisposition::UseCredential, serverTrustCredential(*m_challenge));

Then the tests no longer time out.

-- 
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/20170803/48de3da3/attachment.html>


More information about the webkit-unassigned mailing list