[Webkit-unassigned] [Bug 113159] New: Use session persistence in CFNetwork loader to match Foundation one
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 24 15:16:27 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=113159
Summary: Use session persistence in CFNetwork loader to match
Foundation one
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: psolanki at apple.com
CC: ap at webkit.org
Looking at ResourceHandle::didReceiveAuthenticationChallenge() implementation, I see
ResourceHandleMac.mm
if (!d->m_user.isNull() && !d->m_pass.isNull()) {
NSURLCredential *credential = [[NSURLCredential alloc] initWithUser:d->m_user
password:d->m_pass
persistence:NSURLCredentialPersistenceForSession];
...
}
And ResourceHandleCFNet.cpp has
if (!d->m_user.isNull() && !d->m_pass.isNull()) {
RetainPtr<CFURLCredentialRef> credential = adoptCF(CFURLCredentialCreate(kCFAllocatorDefault, d->m_user.createCFString().get(), d->m_pass.createCFString().get(), 0, kCFURLCredentialPersistenceNone));
...
}
Note that we use NSURLCredentialPersistenceForSession in one and kCFURLCredentialPersistenceNone in the other. The CFNetwork loader should use session persistence.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list