diff options
| author | Iain Merrick <husky@google.com> | 2010-11-24 10:38:33 +0000 |
|---|---|---|
| committer | Iain Merrick <husky@google.com> | 2010-11-25 10:26:26 +0000 |
| commit | 664dabb9afbb1d233a9b16a8f80f944cc01d4e7f (patch) | |
| tree | a6e923797950a06e130d513de20e4d4dc08ff71c /WebKit/WebKit.xcodeproj | |
| parent | faae91c5ffddc81234758e14185d89b064fdb991 (diff) | |
| download | external_webkit-664dabb9afbb1d233a9b16a8f80f944cc01d4e7f.zip external_webkit-664dabb9afbb1d233a9b16a8f80f944cc01d4e7f.tar.gz external_webkit-664dabb9afbb1d233a9b16a8f80f944cc01d4e7f.tar.bz2 | |
Set useCachedCredentials to true on first auth request.
This flag previously defaulted to false, but the Android CTS
specifies that a "sufficient" implementation should return true
on the first authentication request. (The second and subsequent
auth requests aren't tested.)
This CL sets the flag to true on the first authentication request
for a given WebRequest, but false for subsequent requests (i.e.,
if the first attempt to authenticate failed).
Using a counter rather than a flag in WebRequest for readability.
"isFirstAuthRequest" would be a bit ambiguous as a member variable,
but "authRequestCount" seems pretty clear.
Change-Id: Id9baae4c30111f743e079f90940078b07498b168
Diffstat (limited to 'WebKit/WebKit.xcodeproj')
0 files changed, 0 insertions, 0 deletions
