mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Improving debug messages for contents.rdf.
This commit is contained in:
parent
97ef33943d
commit
ca56050d0c
@ -1729,7 +1729,7 @@ NS_IMETHODIMP nsChromeRegistry::InstallProvider(const nsCString& aProviderType,
|
||||
{
|
||||
// XXX don't allow local chrome overrides of install chrome!
|
||||
#ifdef DEBUG
|
||||
printf("*** Chrome Registration of %s: Checking for contents.rdf (or obsolete manifest.rdf) at %s\n", (const char*)aProviderType, (const char*)aBaseURL);
|
||||
printf("*** Chrome Registration of %s: Checking for contents.rdf at %s\n", (const char*)aProviderType, (const char*)aBaseURL);
|
||||
#endif
|
||||
|
||||
// Load the data source found at the base URL.
|
||||
@ -1766,7 +1766,7 @@ NS_IMETHODIMP nsChromeRegistry::InstallProvider(const nsCString& aProviderType,
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
appendPackage = PR_TRUE;
|
||||
appendProvider = PR_TRUE;
|
||||
NS_WARNING("Using old-style manifest.rdf. Please update to contents.rdf.");
|
||||
NS_WARNING("Trying old-style manifest.rdf. Please update to contents.rdf.");
|
||||
}
|
||||
else {
|
||||
if ((skinCount > 1 && aProviderType.Equals("skin")) ||
|
||||
|
@ -1729,7 +1729,7 @@ NS_IMETHODIMP nsChromeRegistry::InstallProvider(const nsCString& aProviderType,
|
||||
{
|
||||
// XXX don't allow local chrome overrides of install chrome!
|
||||
#ifdef DEBUG
|
||||
printf("*** Chrome Registration of %s: Checking for contents.rdf (or obsolete manifest.rdf) at %s\n", (const char*)aProviderType, (const char*)aBaseURL);
|
||||
printf("*** Chrome Registration of %s: Checking for contents.rdf at %s\n", (const char*)aProviderType, (const char*)aBaseURL);
|
||||
#endif
|
||||
|
||||
// Load the data source found at the base URL.
|
||||
@ -1766,7 +1766,7 @@ NS_IMETHODIMP nsChromeRegistry::InstallProvider(const nsCString& aProviderType,
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
appendPackage = PR_TRUE;
|
||||
appendProvider = PR_TRUE;
|
||||
NS_WARNING("Using old-style manifest.rdf. Please update to contents.rdf.");
|
||||
NS_WARNING("Trying old-style manifest.rdf. Please update to contents.rdf.");
|
||||
}
|
||||
else {
|
||||
if ((skinCount > 1 && aProviderType.Equals("skin")) ||
|
||||
|
Loading…
Reference in New Issue
Block a user