gecko-dev/accessible/atk
Colomban Wendling d8bb7d0fa3 Bug 1308908 - Compare the whole accessible name when checking equality. r=tbsaunde
Use strcmp() instead of strncmp() when comparing the AtkObject name
before changing it.  9133117f410c06ad7fa25323a168bc97200043b9 changed
from Equals() to strncmp() to prevent issues related to embedded NUL
bytes, but the change lead to only checking if the AtkObject name has
the new value as prefix.  Instead, use strcmp() to check the whole
C strings, but still stopping at the first NUL byte in the new name.

strcmp() has to be safe here, as NS_ConvertUTF16toUTF8::get() has to
return a NUL-terminated string or the code would crash a few lines
below when calling strdup() on it.
2017-01-27 09:36:00 -05:00
..
AccessibleWrap.cpp Bug 1308908 - Compare the whole accessible name when checking equality. r=tbsaunde 2017-01-27 09:36:00 -05:00
AccessibleWrap.h
ApplicationAccessibleWrap.cpp
ApplicationAccessibleWrap.h
ARIAGridAccessibleWrap.h
AtkSocketAccessible.cpp
AtkSocketAccessible.h
DocAccessibleWrap.cpp
DocAccessibleWrap.h
HTMLTableAccessibleWrap.h
HyperTextAccessibleWrap.h
ImageAccessibleWrap.h
InterfaceInitFuncs.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
nsMaiInterfaceTableCell.cpp
nsMaiInterfaceText.cpp
nsMaiInterfaceValue.cpp
nsStateMap.h
Platform.cpp
RootAccessibleWrap.cpp
RootAccessibleWrap.h
TextLeafAccessibleWrap.h
UtilInterface.cpp
XULListboxAccessibleWrap.h
XULMenuAccessibleWrap.h
XULTreeGridAccessibleWrap.h