Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56aa37f2fb910067390d664215376202a81cf464
      
https://github.com/WebKit/WebKit/commit/56aa37f2fb910067390d664215376202a81cf464
  Author: Charlie Wolfe <charl...@apple.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm

  Log Message:
  -----------
  Fix issue where WebAuth timeouts lead to an incorrect error
https://bugs.webkit.org/show_bug.cgi?id=249612
rdar://100825830

Reviewed by J Pascoe.

This corrects an issue where we unconditionally return a
WKErrorUnknown. This later leads to other issues when we
cast this error back to a WebCore::ExceptionCode, resulting
in an unrelated error being thrown.

* Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm:
(-[_WKWebAuthenticationPanel 
getAssertionWithChallenge:origin:options:completionHandler:]):
(-[_WKWebAuthenticationPanel 
getAssertionWithMediationRequirement:clientDataHash:options:completionHandler:]):

Canonical link: https://commits.webkit.org/258116@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to