RESOLVED FIXED 134051
[Cocoa] Modernize one-method authentication
https://bugs.webkit.org/show_bug.cgi?id=134051
Summary [Cocoa] Modernize one-method authentication
mitz
Reported 2014-06-18 17:13:53 PDT
[Cocoa] Modernize one-method authentication
Attachments
Add -_webView:didReceiveAuthenticationChallenge:completionHandler: (9.86 KB, patch)
2014-06-18 17:19 PDT, mitz
andersca: review+
mitz
Comment 1 2014-06-18 17:19:54 PDT
Created attachment 233342 [details] Add -_webView:didReceiveAuthenticationChallenge:completionHandler:
WebKit Commit Bot
Comment 2 2014-06-18 17:22:24 PDT
Attachment 233342 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/Cocoa/NavigationState.mm:616: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Anders Carlsson
Comment 3 2014-06-18 17:24:23 PDT
Comment on attachment 233342 [details] Add -_webView:didReceiveAuthenticationChallenge:completionHandler: View in context: https://bugs.webkit.org/attachment.cgi?id=233342&action=review > Source/WebKit2/UIProcess/Cocoa/NavigationState.mm:640 > + [NSException raise:NSInvalidArgumentException format:@"Invalid NSURLSessionAuthChallengeDisposition (%ld)", (long)disposition]; I think you should call checker->didCallCompletionHandler() before raising the exception here, otherwise you'll get another exception when the completionHandler is released.
mitz
Comment 4 2014-06-18 17:31:33 PDT
Note You need to log in before you can comment on or make changes to this bug.