Fixing case sensitivity problem.

This commit is contained in:
hyatt%netscape.com 1999-04-16 21:27:00 +00:00
Родитель 7156184a89
Коммит a3d8385a9e
2 изменённых файлов: 4 добавлений и 8 удалений

Просмотреть файл

@ -227,8 +227,7 @@ nsChromeRegistry::ConvertChromeURL(nsIURL* aChromeURL)
} }
nsAutoString hostStr(host); nsAutoString hostStr(host);
hostStr.ToLowerCase();
// Construct a chrome URL and use it to look up a resource. // Construct a chrome URL and use it to look up a resource.
nsAutoString windowType = nsAutoString("chrome://") + hostStr + "/"; nsAutoString windowType = nsAutoString("chrome://") + hostStr + "/";
@ -236,8 +235,7 @@ nsChromeRegistry::ConvertChromeURL(nsIURL* aChromeURL)
const char* file; const char* file;
aChromeURL->GetFile(&file); aChromeURL->GetFile(&file);
nsAutoString restOfURL(file); nsAutoString restOfURL(file);
restOfURL.ToLowerCase();
// Find the second slash. // Find the second slash.
nsAutoString providerType("content"); nsAutoString providerType("content");
nsAutoString path(""); nsAutoString path("");

Просмотреть файл

@ -227,8 +227,7 @@ nsChromeRegistry::ConvertChromeURL(nsIURL* aChromeURL)
} }
nsAutoString hostStr(host); nsAutoString hostStr(host);
hostStr.ToLowerCase();
// Construct a chrome URL and use it to look up a resource. // Construct a chrome URL and use it to look up a resource.
nsAutoString windowType = nsAutoString("chrome://") + hostStr + "/"; nsAutoString windowType = nsAutoString("chrome://") + hostStr + "/";
@ -236,8 +235,7 @@ nsChromeRegistry::ConvertChromeURL(nsIURL* aChromeURL)
const char* file; const char* file;
aChromeURL->GetFile(&file); aChromeURL->GetFile(&file);
nsAutoString restOfURL(file); nsAutoString restOfURL(file);
restOfURL.ToLowerCase();
// Find the second slash. // Find the second slash.
nsAutoString providerType("content"); nsAutoString providerType("content");
nsAutoString path(""); nsAutoString path("");