mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1003091 - HTTP cache v2: Remove temporary fix in CacheFileContextEvictor::GetContextFile() due to CacheFileUtils::ParseKey() limitation, r=honzab
This commit is contained in:
parent
f2cd90aa43
commit
64dcad7bee
@ -404,12 +404,6 @@ CacheFileContextEvictor::GetContextFile(nsILoadContextInfo *aLoadContextInfo,
|
||||
nsAutoCString keyPrefix;
|
||||
CacheFileUtils::AppendKeyPrefix(aLoadContextInfo, keyPrefix);
|
||||
|
||||
// TODO: This hack is needed because current CacheFileUtils::ParseKey() can
|
||||
// parse only the whole key and not just the key prefix generated by
|
||||
// CacheFileUtils::CreateKeyPrefix(). This should be removed once bug #968593
|
||||
// is fixed.
|
||||
keyPrefix.Append(":foo");
|
||||
|
||||
nsAutoCString data64;
|
||||
rv = Base64Encode(keyPrefix, data64);
|
||||
if (NS_WARN_IF(NS_FAILED(rv))) {
|
||||
|
Loading…
Reference in New Issue
Block a user