зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 87cb83f022c6 (bug 1073820) because of test failures
This commit is contained in:
Родитель
291cf2839e
Коммит
e6dcbd1163
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче