Bug 158819 - Remove unused didCancelAuthenticationChallenge
Summary: Remove unused didCancelAuthenticationChallenge
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-15 16:29 PDT by Alex Christensen
Modified: 2016-06-23 19:47 PDT (History)
4 users (show)

See Also:


Attachments
Patch (27.74 KB, patch)
2016-06-15 17:25 PDT, Alex Christensen
no flags Details | Formatted Diff | Diff
Patch (31.32 KB, patch)
2016-06-16 11:47 PDT, Alex Christensen
ddkilzer: review+
ddkilzer: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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