diff options
Diffstat (limited to 'ios')
-rw-r--r-- | ios/web/web_state/ui/crw_wk_web_view_web_controller.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm b/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm index 5cebd46..de29b29 100644 --- a/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm +++ b/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm @@ -1206,6 +1206,7 @@ WKWebViewErrorSource WKWebViewErrorSourceFromError(NSError* error) { NSURLProtectionSpace* space = challenge.protectionSpace; DCHECK( [space.authenticationMethod isEqual:NSURLAuthenticationMethodHTTPBasic] || + [space.authenticationMethod isEqual:NSURLAuthenticationMethodNTLM] || [space.authenticationMethod isEqual:NSURLAuthenticationMethodHTTPDigest]); SEL selector = @selector(webController: @@ -1926,6 +1927,7 @@ WKWebViewErrorSource WKWebViewErrorSourceFromError(NSError* error) { NSURLCredential*))completionHandler { NSString* authMethod = challenge.protectionSpace.authenticationMethod; if ([authMethod isEqual:NSURLAuthenticationMethodHTTPBasic] || + [authMethod isEqual:NSURLAuthenticationMethodNTLM] || [authMethod isEqual:NSURLAuthenticationMethodHTTPDigest]) { [self handleHTTPAuthForChallenge:challenge completionHandler:completionHandler]; |