Changeset 74648 in webkit
- Timestamp:
- Dec 24, 2010 12:24:37 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r74646 r74648 1 2010-12-24 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Anders Carlsson. 4 5 <rdar://problem/8758386> The web process uses its own credential storage 6 https://bugs.webkit.org/show_bug.cgi?id=51599 7 8 * WebCore.exp.in: Export CredentialStorage::getFromPersistentStorage(), Credential::hasPassword(), 9 and Credential::isEmpty(). 10 1 11 2010-12-24 Yury Semikhatsky <yurys@chromium.org> 2 12 -
trunk/WebCore/WebCore.exp.in
r74597 r74648 436 436 __ZN7WebCore16isEndOfParagraphERKNS_15VisiblePositionENS_27EditingBoundaryCrossingRuleE 437 437 __ZN7WebCore16jsStringSlowCaseEPN3JSC9ExecStateERNS0_9WeakGCMapIPN3WTF10StringImplEPNS0_8JSStringEEES6_ 438 __ZN7WebCore17CredentialStorage24getFromPersistentStorageERKNS_15ProtectionSpaceE 438 439 __ZN7WebCore17CredentialStorage3getERKNS_15ProtectionSpaceE 439 440 __ZN7WebCore17DOMImplementation13isXMLMIMETypeERKN3WTF6StringE … … 934 935 __ZNK3JSC8Bindings10RootObject12globalObjectEv 935 936 __ZNK3WTF6String14createCFStringEv 937 __ZNK7WebCore10Credential11hasPasswordEv 936 938 __ZNK7WebCore10Credential11persistenceEv 937 939 __ZNK7WebCore10Credential4userEv 940 __ZNK7WebCore10Credential7isEmptyEv 938 941 __ZNK7WebCore10Credential8passwordEv 939 942 __ZNK7WebCore10FloatPointcv8_NSPointEv -
trunk/WebKit2/ChangeLog
r74615 r74648 1 2010-12-24 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Anders Carlsson. 4 5 <rdar://problem/8758386> The web process uses its own credential storage 6 https://bugs.webkit.org/show_bug.cgi?id=51599 7 8 * UIProcess/WebPageProxy.cpp: 9 (WebKit::WebPageProxy::didReceiveAuthenticationChallenge): Try to answer the challenge using 10 the UI process’s credential storage first. 11 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: 12 (WebKit::WebFrameLoaderClient::shouldUseCredentialStorage): Prevent the web process from using 13 its own credential storage. 14 * WebProcess/mac/WebProcessMainMac.mm: 15 (WebKit::WebProcessMain): Ditto. 16 1 17 2010-12-23 Dan Bernstein <mitz@apple.com> 2 18 -
trunk/WebKit2/UIProcess/WebPageProxy.cpp
r74615 r74648 28 28 #include "AuthenticationChallengeProxy.h" 29 29 #include "AuthenticationDecisionListener.h" 30 #include "AuthenticationManagerMessages.h" 30 31 #include "DataReference.h" 31 32 #include "DrawingAreaProxy.h" … … 62 63 #include "WebSecurityOrigin.h" 63 64 #include "WebURLRequest.h" 65 #include <WebCore/CredentialStorage.h> 64 66 #include <WebCore/FloatRect.h> 65 67 #include <WebCore/MIMETypeRegistry.h> … … 1983 1985 MESSAGE_CHECK(frame); 1984 1986 1987 if (!coreChallenge.previousFailureCount()) { 1988 Credential defaultCredential = CredentialStorage::getFromPersistentStorage(coreChallenge.protectionSpace()); 1989 if (!defaultCredential.isEmpty() && defaultCredential.hasPassword() && !defaultCredential.password().isEmpty()) { 1990 process()->send(Messages::AuthenticationManager::UseCredentialForChallenge(challengeID, defaultCredential), pageID()); 1991 return; 1992 } 1993 } 1994 1985 1995 RefPtr<AuthenticationChallengeProxy> authenticationChallenge = AuthenticationChallengeProxy::create(coreChallenge, challengeID, this); 1986 1996 -
trunk/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
r74571 r74648 162 162 bool WebFrameLoaderClient::shouldUseCredentialStorage(DocumentLoader*, unsigned long identifier) 163 163 { 164 return true;164 return false; 165 165 } 166 166 -
trunk/WebKit2/WebProcess/mac/WebProcessMainMac.mm
r74219 r74648 105 105 } 106 106 107 // Disallow access to the user keychain. 108 SecKeychainSetPreferenceDomain(kSecPreferencesDomainSystem); 109 107 110 #if !SHOW_CRASH_REPORTER 108 111 // Installs signal handlers that exit on a crash so that CrashReporter does not show up.
Note: See TracChangeset
for help on using the changeset viewer.