fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1869,10 +1869,10 @@ nsScriptSecurityManager::SetCanEnableCapability(const char* certificateID,
|
||||
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
|
||||
#ifdef XP_MAC
|
||||
// On Mac, this file will be located in the Essential Files folder
|
||||
systemCertFile->Append(NS_LITERAL_CSTRING("Essential Files"));
|
||||
systemCertFile->AppendNative(NS_LITERAL_CSTRING("Essential Files"));
|
||||
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
|
||||
#endif
|
||||
systemCertFile->Append(NS_LITERAL_CSTRING("systemSignature.jar"));
|
||||
systemCertFile->AppendNative(NS_LITERAL_CSTRING("systemSignature.jar"));
|
||||
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
|
||||
nsCOMPtr<nsIZipReader> systemCertZip;
|
||||
rv = nsComponentManager::CreateInstance(kZipReaderCID, nsnull,
|
||||
|
||||
Reference in New Issue
Block a user