Backed out changeset 87cb83f022c6 (bug 1073820) because of test failures

This commit is contained in:
Ehsan Akhgari 2014-09-27 14:15:56 -04:00
Родитель 291cf2839e
Коммит e6dcbd1163
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -240,6 +240,7 @@ Accessible::Description(nsString& aDescription)
if (!aDescription.IsEmpty()) {
aDescription.CompressWhitespace();
nsAutoString name;
ENameValueFlag nameFlag = Name(name);
// Don't expose a description if it is the same as the name.
if (aDescription.Equals(name))
aDescription.Truncate();