зеркало из https://github.com/mozilla/gecko-dev.git
7b1bfa7b97
AtkObject stores the name as a C string, but nsCString can store strings with '\0' in the middle. That means that if we compute a name containing '\0' nsCString.equals() will nevr consider that string to be equal to AtkObject::name, however we only want to compare up to the first '\0' because that is the only part Atk will ever see. So we should use strncmp() instead of nsCString.equals(). |
||
---|---|---|
.. | ||
ARIAGridAccessibleWrap.h | ||
AccessibleWrap.cpp | ||
AccessibleWrap.h | ||
ApplicationAccessibleWrap.cpp | ||
ApplicationAccessibleWrap.h | ||
AtkSocketAccessible.cpp | ||
AtkSocketAccessible.h | ||
DocAccessibleWrap.cpp | ||
DocAccessibleWrap.h | ||
HTMLTableAccessibleWrap.h | ||
HyperTextAccessibleWrap.h | ||
ImageAccessibleWrap.h | ||
InterfaceInitFuncs.h | ||
Platform.cpp | ||
RootAccessibleWrap.cpp | ||
RootAccessibleWrap.h | ||
TextLeafAccessibleWrap.h | ||
UtilInterface.cpp | ||
XULListboxAccessibleWrap.h | ||
XULMenuAccessibleWrap.h | ||
XULTreeGridAccessibleWrap.h | ||
moz.build | ||
nsMai.h | ||
nsMaiHyperlink.cpp | ||
nsMaiHyperlink.h | ||
nsMaiInterfaceAction.cpp | ||
nsMaiInterfaceComponent.cpp | ||
nsMaiInterfaceDocument.cpp | ||
nsMaiInterfaceEditableText.cpp | ||
nsMaiInterfaceHyperlinkImpl.cpp | ||
nsMaiInterfaceHypertext.cpp | ||
nsMaiInterfaceImage.cpp | ||
nsMaiInterfaceSelection.cpp | ||
nsMaiInterfaceTable.cpp | ||
nsMaiInterfaceText.cpp | ||
nsMaiInterfaceValue.cpp | ||
nsStateMap.h |