a11y inspect reorg: expose ChromeIdentifier attribute on mac
Inspect tools provide option to show internal ids of accessible objects, which is a handy feature for debugging and event recording. Platform tree formatters rely on internal accessible trees to retrieve object ids. It should be avoided, because the tree formatters should operate on external trees to produce same results not depending on how a tree formatter was initiated (whether by tests or by ax_dump_tree tool). WebKit exposes AXIdentifier attribute, which looks like a great match for this case. However, no comments from Apple so far about what exactly this attribute is for, so let's move with ChromeIdentifier attribute for now. Later it can be revisited. Bug: 1134623 Change-Id: I367158bc8802734d0e9311c9739eb8da13ff0cf8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2602356 Commit-Queue: Alexander Surkov <asurkov@igalia.com> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#839602}
Showing
Please register or sign in to comment