Bug 652050 diagnostic 2: Temporarily add printfs to verify presumed cause of mobile permaorange. r=dougt

This commit is contained in:
Daniel Holbert 2011-04-22 14:08:54 -07:00
parent 6e99d2c8df
commit 68f63cf866

View File

@ -223,9 +223,11 @@ nsSVGFeatures::PassesConditionalProcessingTests(nsIContent *aContent,
// Get our language preferences
if (!acceptLangs.IsEmpty()) {
printf("Bug 652050 diagnostic: intl.accept_languages is nonempty.\n");
return MatchesLanguagePreferences(value, acceptLangs);
} else {
// For now, evaluate to true.
printf("Bug 652050 diagnostic: intl.accept_languages is EMPTY!\n");
NS_WARNING("no default language specified for systemLanguage conditional test");
return !value.IsEmpty();
}