Bug 158819

Summary: Remove unused didCancelAuthenticationChallenge
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: New BugsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, ddkilzer, japhet
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=159067
Attachments:
Description Flags
Patch
none
Patch ddkilzer: review+, ddkilzer: commit-queue-

Description Alex Christensen 2016-06-15 16:29:27 PDT
Remove unused didCancelAuthenticationChallenge
Comment 1 Alex Christensen 2016-06-15 17:25:11 PDT
Created attachment 281411 [details]
Patch
Comment 2 WebKit Commit Bot 2016-06-15 17:27:31 PDT
Attachment 281411 [details] did not pass style-queue:


ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Alex Christensen 2016-06-16 11:47:22 PDT
Created attachment 281464 [details]
Patch
Comment 4 Brent Fulgham 2016-06-16 15:39:12 PDT
Comment on attachment 281464 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=281464&action=review

> Source/WebCore/ChangeLog:12
> +        (WebCore::ResourceLoadNotifier::willSendRequest):

The above two methods didn't change. They shouldn't appear in the ChangeLog!

> Source/WebCore/ChangeLog:17
> +        (WebCore::ResourceLoader::canAuthenticateAgainstProtectionSpace):

Ditto.

> Source/WebCore/ChangeLog:24
> +        (WebCore::ResourceHandleClient::canAuthenticateAgainstProtectionSpace):

Ditto.

> Source/WebCore/ChangeLog:28
> +        (WebCore::ResourceHandle::canAuthenticateAgainstProtectionSpace):

Ditto.

> Source/WebCore/ChangeLog:32
> +        (-[WebCoreResourceHandleAsDelegate connection:canAuthenticateAgainstProtectionSpace:]):

Ditto.

> Source/WebCore/ChangeLog:36
> +        (-[WebCoreResourceHandleAsOperationQueueDelegate connection:canAuthenticateAgainstProtectionSpace:]):

Ditto.

> Source/WebKit2/ChangeLog:10
> +        (-[WKDownloadAsDelegate downloadShouldUseCredentialStorage:]):

Ditto.

> Source/WebKit2/ChangeLog:14
> +        (WebKit::NetworkLoad::receivedCancellation):

Ditto.

> Source/WebKit2/ChangeLog:19
> +        (WebKit::WebFrameLoaderClient::canAuthenticateAgainstProtectionSpace):

Ditto.

> Source/WebKit/ios/ChangeLog:10
> +        (-[WebDefaultResourceLoadDelegate webView:resource:canAuthenticateAgainstProtectionSpace:forDataSource:]):

Ditto.

> Source/WebKit/mac/ChangeLog:10
> +        (-[WebDownloadInternal download:didReceiveResponse:]):

Ditto.

> Source/WebKit/mac/ChangeLog:15
> +        (WebFrameLoaderClient::dispatchDidReceiveResponse):

Ditto.

> Source/WebKit/win/ChangeLog:10
> +        (WebFrameLoaderClient::dispatchWillSendRequest):

Ditto.
Comment 5 David Kilzer (:ddkilzer) 2016-06-23 12:11:51 PDT
Comment on attachment 281464 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=281464&action=review

r=me if you fix up the ChangeLog to remove methods that were not changed.

> Source/WebCore/ChangeLog:4
> +        Remove unused didCancelAuthenticationChallenge
> +        https://bugs.webkit.org/show_bug.cgi?id=158819

Would be good to explain why it was removed, at least in the bug.

I believe this callback was deprecated by CFNetwork, so we switched to use something else instead (although I don't know what).
Comment 6 David Kilzer (:ddkilzer) 2016-06-23 12:17:25 PDT
(In reply to comment #5)
> Comment on attachment 281464 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=281464&action=review
> 
> r=me if you fix up the ChangeLog to remove methods that were not changed.

Filed this bug to track that issue:

Bug 159067: prepare-ChangeLog lists methods that were not modified when deleting other methods
Comment 7 Alex Christensen 2016-06-23 19:47:47 PDT
http://trac.webkit.org/changeset/202410