зеркало из https://github.com/mozilla/pjs.git
Bug 652050 diagnostic 2 followup: use printf_stderr since android doesn't have printf. rs=dougt
This commit is contained in:
Родитель
a0e63cdc53
Коммит
4510b90fb9
|
@ -223,11 +223,16 @@ nsSVGFeatures::PassesConditionalProcessingTests(nsIContent *aContent,
|
|||
|
||||
// Get our language preferences
|
||||
if (!acceptLangs.IsEmpty()) {
|
||||
printf("Bug 652050 diagnostic: intl.accept_languages is nonempty.\n");
|
||||
// XXXdholbert Temporary diagnostic to verify a theory in Bug 652050
|
||||
#ifdef ANDROID
|
||||
printf_stderr("Bug 652050 diagnostic: intl.accept_languages is nonempty.\n");
|
||||
#endif
|
||||
return MatchesLanguagePreferences(value, acceptLangs);
|
||||
} else {
|
||||
// For now, evaluate to true.
|
||||
printf("Bug 652050 diagnostic: intl.accept_languages is EMPTY!\n");
|
||||
#ifdef ANDROID
|
||||
printf_stderr("Bug 652050 diagnostic: intl.accept_languages is EMPTY!\n");
|
||||
#endif
|
||||
NS_WARNING("no default language specified for systemLanguage conditional test");
|
||||
return !value.IsEmpty();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче