WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
65002
Get authentication to work with USE(CFNETWORK) on Mac
https://bugs.webkit.org/show_bug.cgi?id=65002
Summary
Get authentication to work with USE(CFNETWORK) on Mac
Pratik Solanki
Reported
2011-07-21 18:13:57 PDT
Authentication does not work on Mac with USE(CFNETWORK) because my previous patches would create a new CFURLAuthChallengeRef. This mean that equality checks later in the code (and in CFNetwork) would fail.
Attachments
Patch
(3.88 KB, patch)
2011-07-21 18:19 PDT
,
Pratik Solanki
ddkilzer
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pratik Solanki
Comment 1
2011-07-21 18:19:57 PDT
Created
attachment 101683
[details]
Patch
David Kilzer (:ddkilzer)
Comment 2
2011-07-21 21:02:43 PDT
Comment on
attachment 101683
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=101683&action=review
r=me
> Source/WebCore/platform/network/mac/AuthenticationMac.mm:62 > + CFURLAuthChallengeRef m_cfChallenge;
Should this be retained using a RetainPtr<CFURLAuthChallengeRef>?
Pratik Solanki
Comment 3
2011-07-21 22:24:49 PDT
(In reply to
comment #2
)
> (From update of
attachment 101683
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=101683&action=review
> > r=me
Thanks!
> > Source/WebCore/platform/network/mac/AuthenticationMac.mm:62 > > + CFURLAuthChallengeRef m_cfChallenge; > > Should this be retained using a RetainPtr<CFURLAuthChallengeRef>?
I think we should be okay without the RetainPtr. The only one holding a reference to the WebCoreAuthenticationClientAsChallengeSender object is the NSURLAuthenticationChallenge object and if that goes away, there's no way to call core(NSURLAuthenticationChallenge *) method which accesses the m_cfChallenge ivar.
Pratik Solanki
Comment 4
2011-07-21 22:27:30 PDT
Committed
r91554
: <
http://trac.webkit.org/changeset/91554
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug