When using ax_dump_tree on Aura/Linux, every node prints an id attribute:
[application] name='Chromium' ATSPI_STATE_ENABLED ATSPI_STATE_SENSITIVE ATSPI_STATE_SHOWING ATSPI_STATE_VISIBLE id=2152
++[frame] name='data:text/html,<input type="text" checked/> - Chromium' ATSPI_STATE_ENABLED ATSPI_STATE_SENSITIVE ATSPI_STATE_SHOWING ATSPI_STATE_VISIBLE id=32723 class:browser/ui/views/frame/BrowserRootView
++++[panel] name='Chromium' ATSPI_STATE_ENABLED ATSPI_STATE_SENSITIVE ATSPI_STATE_SHOWING ATSPI_STATE_VISIBLE id=2152 class:ui/views/window/NonClientView
++++++[title bar] ATSPI_STATE_ENABLED ATSPI_STATE_SENSITIVE ATSPI_STATE_SHOWING ATSPI_STATE_VISIBLE id=32723 class:OpaqueBrowserFrameView
++++++++[push button] name='Minimize' ATSPI_STATE_ENABLED ATSPI_STATE_SENSITIVE id=32723 class:ImageButton
++++++++[push button] name='Maximize' ATSPI_STATE_ENABLED ATSPI_STATE_SENSITIVE id=-1779574277 class:ImageButton
The id attribute should be a string, not an integer. Additionally, we should only print this attribute for elements that actually have it.
Comment 1 by bugdroid1@chromium.org
, Dec 3