Bug 123673

Summary: Make AuthenticationClient a base class of ResourceHandle for all ports
Product: WebKit Reporter: Patrick R. Gansterer <paroga>
Component: New BugsAssignee: Patrick R. Gansterer <paroga>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, rbuis, rwlbuis
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch beidson: review-

Description Patrick R. Gansterer 2013-11-02 10:52:14 PDT
Make AuthenticationClient a base class of ResourceHandle for all ports
Comment 1 Patrick R. Gansterer 2013-11-02 10:56:19 PDT
Created attachment 215816 [details]
Patch
Comment 2 Darin Adler 2013-11-02 19:46:17 PDT
Comment on attachment 215816 [details]
Patch

I’m not sure this is a good change. On the one hand, it’s nice to remove an unneeded #if, but on the other hand, I’m pretty sure that we’re now compiling dead code, since if anything was calling shouldUseCredentialStorage, we would not have compiled before. Implementing that function is not valuable. It would be better to not implement it rather than having code that is never called. Same for didReceiveAuthenticationChallenge. For the three virtual functions, I am unsure whether empty implementations are safe to have around.
Comment 3 Patrick R. Gansterer 2013-11-03 07:02:25 PST
Created attachment 215867 [details]
Patch
Comment 4 Brady Eidson 2016-05-16 22:41:15 PDT
Comment on attachment 215867 [details]
Patch

This is obsolete in a number of ways, one of which being that ResourceHandle is no longer the sole network loading class.
Comment 5 Rob Buis 2018-11-15 12:27:53 PST
It seems AuthenticationClient these days is a base class of ResourceHandle for all ports, should we close this?
Comment 6 Darin Adler 2018-11-16 08:49:34 PST
Sure, let's close it.