зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1622162 - Add pinned and current to state string representation. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D66712 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d17a9a9a55
Коммит
a6a85d62a2
|
@ -829,8 +829,11 @@ already_AddRefed<DOMStringList> nsAccessibilityService::GetStringStates(
|
|||
if (aStates & states::SENSITIVE) {
|
||||
stringStates->Add(NS_LITERAL_STRING("sensitive"));
|
||||
}
|
||||
if (aStates & states::EXPANDABLE) {
|
||||
stringStates->Add(NS_LITERAL_STRING("expandable"));
|
||||
if (aStates & states::PINNED) {
|
||||
stringStates->Add(NS_LITERAL_STRING("pinned"));
|
||||
}
|
||||
if (aStates & states::CURRENT) {
|
||||
stringStates->Add(NS_LITERAL_STRING("current"));
|
||||
}
|
||||
|
||||
return stringStates.forget();
|
||||
|
|
Загрузка…
Ссылка в новой задаче